11.06.2009, 17:46
Код:
if (InAFoodPlace[playerid] != 0) //line 4937
{
TogglePlayerControllable(playerid, 0);
switch (InAFoodPlace[playerid]) //line 4940
{
case 1: // chicken //line 4937
{
ShowMenuForPlayer(chickenmenu, playerid);
SetPlayerPos(playerid,368.9714,-6.2486,1001.8516);
SetPlayerFacingAngle(playerid, 357.0132);
}
case 2: // burger //line 4948
{
ShowMenuForPlayer(burgermenu, playerid);
SetPlayerPos(playerid,376.8571,-67.6620,1001.5151);
SetPlayerFacingAngle(playerid, 357.0132);
}
case 3: // pizza //line 4954
{
ShowMenuForPlayer(pizzamenu, playerid);
SetPlayerPos(playerid,375.6895,-118.9683,1001.4995);
SetPlayerFacingAngle(playerid, 357.0132);
}
case 4: // donut //line 4960
{
ShowMenuForPlayer(donutshop, playerid);
SetPlayerPos(playerid,379.0611,-186.6032,1000.6328);
SetPlayerFacingAngle(playerid, 280);
}
}
SetCameraBehindPlayer(playerid);
return 1; //line 4968
}
DisablePlayerCheckpoint(playerid);
return 1; //line 4971
}
.Can somebody help me?
I get this errors:
Код:
C:\Documents and Settings\wimdox\Desktop\FuNZoNe\gamemodes\RPG-OnesTi.pwn(4937) : error 010: invalid function or declaration C:\Documents and Settings\wimdox\Desktop\FuNZoNe\gamemodes\RPG-OnesTi.pwn(4940) : error 010: invalid function or declaration C:\Documents and Settings\wimdox\Desktop\FuNZoNe\gamemodes\RPG-OnesTi.pwn(4942) : error 010: invalid function or declaration C:\Documents and Settings\wimdox\Desktop\FuNZoNe\gamemodes\RPG-OnesTi.pwn(4948) : error 010: invalid function or declaration C:\Documents and Settings\wimdox\Desktop\FuNZoNe\gamemodes\RPG-OnesTi.pwn(4954) : error 010: invalid function or declaration C:\Documents and Settings\wimdox\Desktop\FuNZoNe\gamemodes\RPG-OnesTi.pwn(4960) : error 010: invalid function or declaration C:\Documents and Settings\wimdox\Desktop\FuNZoNe\gamemodes\RPG-OnesTi.pwn(4968) : error 010: invalid function or declaration C:\Documents and Settings\wimdox\Desktop\FuNZoNe\gamemodes\RPG-OnesTi.pwn(4971) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Errors.

