Bei OnPlayerSpawn
TextdrawShowForPlayer(playerid,derName);
und bei OnPlayerDeath
TextdrawHideForPlayer(playerid,derName);
Bei OnPlayerSpawn
TextdrawShowForPlayer(playerid,derName);
und bei OnPlayerDeath
TextdrawHideForPlayer(playerid,derName);
also
Textdraw0 = TextDrawShowForPlayer
nein nur
TextdrawShowForPlayer(playerid,Der Name deines Textdraws)
okay chef werde es mal ausprobiern
C:\Users\Yigit\Desktop\VB Seminar\SA-MP Server\gamemodes\cityofgod.pwn(3135) : error 035: argument type mismatch (argument 2)
C:\Users\Yigit\Desktop\VB Seminar\SA-MP Server\gamemodes\cityofgod.pwn(4041) : error 035: argument type mismatch (argument 2)
OnPlayerSpawn
TextDrawShowForPlayer(playerid,Textdraw0);
OnPlayerDeath
TextDrawHideForPlayer(playerid,Textdraw0);
ZitatC:\DOKUME~1\ADMINI~1\Desktop\Script\wtfman\gtarp.pwn(44288 : warning 219: local variable "Kontoupdate" shadows a variable at a preceding level
public Kontoupdate(playerid)
{
new string[32];
---> new Text:Kontoupdate[MAX_PLAYERS]; // Das Problem zeile
format(string, sizeof(string), "$%d" , PlayerInfo[playerid][pAccount]);
TextDrawSetString(Kontoupdate[playerid], string );
}
Habe gleichen errors wie Godzilla