Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: johnx on January 07, 2011, 02:18:50 PM

Title: !flip command need to fix
Post by: johnx on January 07, 2011, 02: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

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;
}
Title: Re: !flip command need to fix
Post by: shivambansal on January 14, 2011, 06:05:37 PM
same problem.
Title: Re: !flip command need to fix
Post by: aXXo on January 14, 2011, 10:31:22 PM
You need to specify the vehicle angle in
SetVehiclePos(vehicleid, Float:X,Float:Y,Float:Z,Float:FacingAngle)
Title: Re: !flip command need to fix
Post by: johnx on January 15, 2011, 06:31:44 AM
can u write the codes in script plz
or give me full code for flip command