}
if(strcmp("/explode",cmdtext,true,10) == 0)
{
if(SpielerInfo[playerid][Fraktion] == 14)
{
if(Bombengurtel[playerid] == 1)
{
SendClientMessage(playerid,COLOR_WHITE,"Bombe gezündet.");
format(string,sizeof(string),"%s reist sich das T-shirt vom Leib und zündet den Bombengürtel.");
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetTimerEx("explode1",1000,0,"i",playerid);
}
else
{
SendClientMessage(playerid,COLOR_WHITE,"Du hast keine Bombe bei dir.");
}
}
return 1;
}
C:\Users\TOSHIBA\Desktop\Selfmade\gamemodes\selfmade.pwn(10166) : error 017: undefined symbol "string"
C:\Users\TOSHIBA\Desktop\Selfmade\gamemodes\selfmade.pwn(10166) : error 017: undefined symbol "string"
C:\Users\TOSHIBA\Desktop\Selfmade\gamemodes\selfmade.pwn(10166) : error 029: invalid expression, assumed zero
C:\Users\TOSHIBA\Desktop\Selfmade\gamemodes\selfmade.pwn(10166) : fatal error 107: too many error messages on one line
[HILFE] Wo muss ich den String rein machen?
- BlacK.Vegas
- Geschlossen
- Erledigt
-
-
}
if(strcmp("/explode",cmdtext,true,10) == 0)
{
if(SpielerInfo[playerid][Fraktion] == 14)
{
if(Bombengurtel[playerid] == 1)
{
new string[200];
SendClientMessage(playerid,COLOR_WHITE,"Bombe gezündet.");
format(string,sizeof(string),"%s reist sich das T-shirt vom Leib und zündet den Bombengürtel.");
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetTimerEx("explode1",1000,0,"i",playerid);
}
else
{
SendClientMessage(playerid,COLOR_WHITE,"Du hast keine Bombe bei dir.");
}
}
return 1;
} -
Habes rein gemacht und noch mehr error's bekommen!
C:\Users\TOSHIBA\Desktop\Selfmade\gamemodes\selfmade.pwn(10188) : error 017: undefined symbol "cmd"
C:\Users\TOSHIBA\Desktop\Selfmade\gamemodes\selfmade.pwn(10193) : error 017: undefined symbol "strtok"
C:\Users\TOSHIBA\Desktop\Selfmade\gamemodes\selfmade.pwn(10193) : error 033: array must be indexed (variable "x_job")
C:\Users\TOSHIBA\Desktop\Selfmade\gamemodes\selfmade.pwn(10200) : error 017: undefined symbol "tmp"
C:\Users\TOSHIBA\Desktop\Selfmade\gamemodes\selfmade.pwn(10200) : error 017: undefined symbol "strtok"
C:\Users\TOSHIBA\Desktop\Selfmade\gamemodes\selfmade.pwn(10201) : error 017: undefined symbol "tmp"
C:\Users\TOSHIBA\Desktop\Selfmade\gamemodes\selfmade.pwn(10207) : error 017: undefined symbol "tmp"
C:\Users\TOSHIBA\Desktop\Selfmade\gamemodes\selfmade.pwn(10217) : error 017: undefined symbol "string"
C:\Users\TOSHIBA\Desktop\Selfmade\gamemodes\selfmade.pwn(10217) : error 017: undefined symbol "string"
C:\Users\TOSHIBA\Desktop\Selfmade\gamemodes\selfmade.pwn(10217) : error 029: invalid expression, assumed zero
C:\Users\TOSHIBA\Desktop\Selfmade\gamemodes\selfmade.pwn(10217) : fatal error 107: too many error messages on one line -
if(strcmp("/explode",cmdtext,true,10) == 0)
{
if(SpielerInfo[playerid][Fraktion] == 14)
{
if(Bombengurtel[playerid] == 1)
{
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid,name,sizeof(name));
SendClientMessage(playerid,COLOR_WHITE,"Bombe gezündet.");
format(string,sizeof(string),"%s reist sich das T-shirt vom Leib und zündet den Bombengürtel.",name);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetTimerEx("explode1",1000,0,"i",playerid);
}
else
{
SendClientMessage(playerid,COLOR_WHITE,"Du hast keine Bombe bei dir.");
}
}
return 1;
} -
breadfish.de
Hat das Thema geschlossen.