public Help [ Urgent ]
#5

You forgot to forward it:
pawn Код:
forward IsAtDeMorgan();
Also you forgot the semicolon.

"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;
}
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.
Reply


Messages In This Thread
public Help [ Urgent ] - by ShawnMiller1337 - 15.12.2010, 18:38
Re: public Help [ Urgent ] - by Benjo - 15.12.2010, 18:51
Re: public Help [ Urgent ] - by ShawnMiller1337 - 15.12.2010, 18:59
Re: public Help [ Urgent ] - by Benjo - 15.12.2010, 19:13
Respuesta: public Help [ Urgent ] - by Quantum - 15.12.2010, 19:13
Re: public Help [ Urgent ] - by ShawnMiller1337 - 15.12.2010, 19:32
Respuesta: public Help [ Urgent ] - by Quantum - 15.12.2010, 20:11

Forum Jump:


Users browsing this thread: 1 Guest(s)