Commands
#5

I did now, none of the 9 debug messages shows in my server.exe :O

Help?

EDIT: Changed the /lvair code to:

pawn Код:
if(strcmp("/lvair", cmdtext, true, 10) == 0)
    {
            if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
            {
                SetVehiclePos(GetPlayerVehicleID(playerid), 1282.6499,1267.8385,10.8203);
                SetVehicleZAngle(GetPlayerVehicleID(playerid), 81.020889);
                LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
        ResetPlayerWeapons(playerid);
                }
                else if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
                {
                    SetPlayerPos(playerid,1282.6499,1267.8385,10.8203);
                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;
        }
Still not working.
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)