why this cmd got bugged?
#3

Good indentation helps.

pawn Код:
CMD:event1(playerid, params[]) // SPEED-RACER (rules who got first place win!!!)
{
    if(IsPlayerAdmin(playerid))
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            SetVehiclePos(GetPlayerVehicleID(playerid), -1397.782470, -203.723114, 1051.346801);
            SetVehicleZAngle(GetPlayerVehicleID(playerid), 93.569358);
            LinkVehicleToInterior(GetPlayerVehicleID(playerid), 7);
           
            SetPlayerPos(playerid, -1397.782470, -203.723114, 1051.346801);
            SetPlayerFacingAngle(playerid, 93.569358);

            SetPlayerInterior(playerid, 7);
            SendClientMessage(playerid, COLOR_RED, "!!Teleported!!");
        }
    }
    else SendClientMessage(playerid,-1,"Only Rcon admins");
    return 1;
}
Reply


Messages In This Thread
why this cmd got bugged? - by ThunderX - 21.10.2014, 13:30
Re: why this cmd got bugged? - by Rudy_ - 21.10.2014, 13:31
Re: why this cmd got bugged? - by Neil. - 21.10.2014, 13:32
Re: why this cmd got bugged? - by ThunderX - 21.10.2014, 13:57
Re: why this cmd got bugged? - by nemesis- - 21.10.2014, 14:35

Forum Jump:


Users browsing this thread: 2 Guest(s)