Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: johnx on January 07, 2011, 04:18:50 pm
-
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
else 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;
}
-
same problem.
-
You need to specify the vehicle angle in
SetVehiclePos(vehicleid, Float:X,Float:Y,Float:Z,Float:FacingAngle)
-
can u write the codes in script plz
or give me full code for flip command