level system flip car command help
#2

chage your command to
Код:
    if(!strcmp(cmdtext, "/flipcar", true, 4))
    {    
if(GetPlayerScore(playerid) >= 2)
    {
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "Tev jaatrodas transportaliidzekli.");
    new maha;
    new Float:angle;
    maha = GetPlayerVehicleID(playerid);
    GetVehicleZAngle(maha, angle);
    SetVehicleZAngle(maha, angle);
    }
    else
   {
    SendClientMessage(playerid, -1, "ERROR:you need Score 2or more than 2 to use this command");
    }
    return 1;
    }
Reply


Messages In This Thread
Flip car command not working! - by fireboy - 21.10.2012, 11:01
Re: level system flip car command help - by Abhishek. - 21.10.2012, 11:42
Re: level system flip car command help - by fireboy - 21.10.2012, 13:20
Re: level system flip car command help - by RedJohn - 21.10.2012, 14:15
Re: level system flip car command help - by fireboy - 21.10.2012, 15:26
Re: level system flip car command help - by fireboy - 22.10.2012, 06:59

Forum Jump:


Users browsing this thread: 1 Guest(s)