29.05.2011, 13:20
help guys
when compile:
pawn Код:
dcmd_island(playerid,params[])
{
#pragma unused params
SetPlayerPos(playerid, 829.37,-2432.32,1.80);
SetPlayerInterior(playerid,0);
SetTimer(FreezePlayer,5000);
TogglePlayerControllable(playerid,0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~g~Wellcome tot ~w~/island",2000,3);
SendClientMessageToAll(0x00FF00FF, "Come Join Us too use commands: /island");
GameTextForPlayer(playerid,"WELCOME TO ISLAND",4000,5);
return 1;
}
forward FreezePlayer();
public FreezePlayer()
{
GameTextForPlayer(playerid,"wait loading object",5000,5);
TogglePlayerControllable(playerid,1);
return 1;
}
when compile:
Код:
C:\Documents and Settings\user\Desktop\SAMP SERVER 0.3c\gamemodes\[GM]Clan.pwn(2631) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\user\Desktop\SAMP SERVER 0.3c\gamemodes\[GM]Clan.pwn(2641) : error 017: undefined symbol "playerid" C:\Documents and Settings\user\Desktop\SAMP SERVER 0.3c\gamemodes\[GM]Clan.pwn(2642) : error 017: undefined symbol "playerid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.