Commands
#3

Here's one cmd that doesnt work -

pawn Код:
if (!strcmp("/lvair", cmdtext, true) || !strcmp("/lv", cmdtext, true) || !strcmp("/las venturas airport", cmdtext, true))
    {
      if(IsPlayerInAnyVehicle(playerid)){
        SetVehiclePos(GetPlayerVehicleID(playerid), 1282.6499,1267.8385,10.8203);
        SetVehicleZAngle(GetPlayerVehicleID(playerid), 81.020889);
        LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);}
        if (!IsPlayerInAnyVehicle(playerid)) {
        SetPlayerPos(playerid,1282.6499,1267.8385,10.8203);
        SetPlayerFacingAngle(playerid, 81.020889);}
    ResetPlayerWeapons(playerid);
    new string[128];
        new playername[MAX_PLAYER_NAME];
        GetPlayerName(playerid,playername,sizeof(playername));
        format(string, sizeof(string), "%s has joined LV Airport ( /lvair )",playername);
        SendClientMessageToAll(COLOR_LIGHTBLUE,string);
        return 1;
        }
Reply


Messages In This Thread
Commands - by Klutty - 18.06.2009, 18:19
Re: Commands - by Correlli - 18.06.2009, 18:22
Re: Commands - by Klutty - 18.06.2009, 19:54
Re: Commands - by Correlli - 18.06.2009, 19:57
Re: Commands - by Klutty - 18.06.2009, 20:01
Re: Commands - by Klutty - 18.06.2009, 21:12
Re: Commands - by mamorunl - 18.06.2009, 21:15
Re: Commands - by Klutty - 18.06.2009, 21:16
Re: Commands - by dice7 - 18.06.2009, 21:17
Re: Commands - by Klutty - 18.06.2009, 21:19

Forum Jump:


Users browsing this thread: 1 Guest(s)