Hallo Breadfish,
Ich habe 2 Error's durch diese Codes:
PHP
C:\Users\---\Desktop\---\Eigene\Selfmade\gamemodes\selfmade.pwn(465) : error 017: undefined symbol "playerid"
C:\Users\---\Desktop\---\Eigene\Selfmade\gamemodes\selfmade.pwn(466) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
if (strcmp("/menu", cmdtext, true, 10) == 0)
{
if (IsPlayerInRangeOfPoint(playerid,3.0,361.8299,173.6750,1008.3828))
{
SendClientMessage(playerid, COLOR_WHITE, "Du bestellst dein Essen.");
SendClientMessage(playerid, COLOR_WHITE, "Du bist für 15 Sekunden gefreezt.");
TogglePlayerControllable(playerid,0);
SetTimer("StartMenu", 15000, 0);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "Sie sind nicht in der nähe von einem Burger Shot.");
}
}
public StartMenu ()
{
TogglePlayerControllable(playerid,1);
SetPlayerHealth(playerid, 100);
return 1;
}