[Tutorial] [TUT]Making a simple flip command
#4

pawn Code:
if (strcmp("/flip", cmdtext, true, 10) == 0)
{  
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_RED2,"You must be in a vehicle.");
        {
             new vehicle;
             new Float:zangle;
             vehicle = GetPlayerVehicleID(playerid);
             GetVehicleZAngle(vehicle,zangle);
             SetVehicleZAngle(vehicle,zangle);
             SendClientMessage(playerid,color,"Vehicle succesfully flipped.");
        }
        return 1;
}
That won't work
Reply


Messages In This Thread
[TUT]Making a simple flip command - by Jay. - 24.07.2010, 13:39
Re: [TUT]Making a simple flip command - by willsuckformoney - 24.07.2010, 17:01
Re: [TUT]Making a simple flip command - by Jay. - 24.07.2010, 18:58
Re: [TUT]Making a simple flip command - by Carlton - 24.07.2010, 21:00
Re: [TUT]Making a simple flip command - by Flo_White - 24.07.2010, 21:07
Re: [TUT]Making a simple flip command - by Agent Smith - 24.07.2010, 21:10
Re: [TUT]Making a simple flip command - by Flo_White - 24.07.2010, 21:13
Re: [TUT]Making a simple flip command - by willsuckformoney - 24.07.2010, 22:58
Re: [TUT]Making a simple flip command - by hab2ever - 25.07.2010, 05:02
Re: [TUT]Making a simple flip command - by Jay. - 25.07.2010, 16:29
Re: [TUT]Making a simple flip command - by Jay. - 25.07.2010, 16:38
Re: [TUT]Making a simple flip command - by CSMajor - 25.07.2010, 20:18
Re: [TUT]Making a simple flip command - by John_F - 28.07.2010, 21:51

Forum Jump:


Users browsing this thread: 3 Guest(s)