Command not working
#6

Ok fixed that, But now if i get in a plane,
Then type /messageme

And im in los santos,
Nothing happens!

pawn Код:
CMD:messageme(playerid, params[])
{
  if (!IsPlayerInFlyingVehicle(GetPlayerVehicleID(playerid))) SendClientMessage(playerid, RED, "You need to be a in vehicle to use this command");
    else {
      SendClientMessage(playerid, RED, "This bit works");
        if(IsPlayerInArea(playerid, 151.8124, -2977.858, 3012.892, 268.5911)) {
            new string[128];

            SendClientMessageToAll(WHITE, "Your in los santos");
        }
        else if(IsPlayerInArea(playerid, 840.807, 525.5044, 2942.825, 2954.502)) {
            new string[128];

            SendClientMessageToAll(WHITE, "Your in las venturas");
        }
        else if(IsPlayerInArea(playerid, -2954.502, -794.0955, -969.2637, 1588.191)) {
            new string[128];

            SendClientMessageToAll(WHITE, "Your in san fierro";
        }
    }
    return 1;
}
Reply


Messages In This Thread
Command not working - by Torran - 07.03.2010, 22:22
Re: Command not working - by adsy - 07.03.2010, 22:26
Re: Command not working - by Carlton - 07.03.2010, 22:28
Re: Command not working - by Gyvo - 07.03.2010, 22:32
Re: Command not working - by adsy - 07.03.2010, 22:41
Re: Command not working - by Torran - 07.03.2010, 22:45
Re: Command not working - by adsy - 07.03.2010, 23:30
Re: Command not working - by Torran - 07.03.2010, 23:44
Re: Command not working - by Torran - 08.03.2010, 14:44
Re: Command not working - by Gyvo - 08.03.2010, 15:19

Forum Jump:


Users browsing this thread: 2 Guest(s)