Raven's Roleplay Spawn Car command???
#4

If you can't find one then make your own!

pawn Код:
CMD:v(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 3) return 0;
new vid, col1, col2;
if(sscanf(params, "ddd", vid, col1, col2)) return SendClientMessage(playerid, -1, "USAGE: /v [ID/name] [color1] [color2]");
new vehicleid = GetVehicleNameFromID(vid);
new Float: X, Float: Y, Float: Z;
GetPlayerPos(playerid, X, Y, Z);
new Float: fangle;
GetPlayerFacingAngle(playerid, fangle);
CreateVehicle(vehicleid,X,Y,Z, fangle, col1, col2, -1);
SetPlayerPos(playerid,X,Y,Z+2);
return 1;
}
Reply


Messages In This Thread
Raven's Roleplay Spawn Car command??? - by NoahF - 04.05.2014, 17:56
Re: Raven's Roleplay Spawn Car command??? - by PrivatioBoni - 04.05.2014, 17:58
Re: Raven's Roleplay Spawn Car command??? - by NoahF - 04.05.2014, 17:59
Re: Raven's Roleplay Spawn Car command??? - by Abagail - 04.05.2014, 18:03
Re: Raven's Roleplay Spawn Car command??? - by NoahF - 04.05.2014, 18:04

Forum Jump:


Users browsing this thread: 4 Guest(s)