15.12.2010, 19:13
You forgot to forward it:
Also you forgot the semicolon.
"SetPlayerControllable" doesn't exists, it's TogglePlayerControllable.
To fix the error 017, use this:
Also if(IsPlayerInRangeOfPoint(i,177.4720,1894.8317,114 9.6217)) is wrong, it should have a range, I recommend you to use the wiki: https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
And I don't know how to fix the warning 203, you may try to remove the "PlayerPos" thing, since is never used.
pawn Код:
forward IsAtDeMorgan();
"SetPlayerControllable" doesn't exists, it's TogglePlayerControllable.
To fix the error 017, use this:
pawn Код:
public DeMorganFreeze()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SetPlayerControllable(i,true);
GameTextForPlayer(i, "~g~ Loading Objects...", 5000, 6);
PlayerPlaySound(i, 1145, 0.0, 0.0, 0.0);
SendClientMessage(i,COLOR_GREY, " Welcome to Fort DeMorgan");
}
return 1;
}
And I don't know how to fix the warning 203, you may try to remove the "PlayerPos" thing, since is never used.