• Welcome to Vice City Multiplayer.
 

!flip command need to fix

Started by johnx, January 07, 2011, 02:18:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

johnx

i making !flip command i try so much but it is not working can any one here who is good in pawno so plz fix it for the players and for me

Quoteelse if (strcmp(cmd, "!flip", true) == 0) {
new Float:x, Float:y, Float:z;
GetVehiclePos(GetPlayerVehicleID(playerid), x, y, z);
SetVehiclePos(GetPlayerVehicleID(playerid), x, y, z);
SendClientMessage(playerid, COLOR_GREEN, "Vehicle Flipped!");
return 1;
}

shivambansal


aXXo

You need to specify the vehicle angle in
SetVehiclePos(vehicleid, Float:X,Float:Y,Float:Z,Float:FacingAngle)

johnx

can u write the codes in script plz
or give me full code for flip command