09.09.2012, 14:33
pawn Код:
if (strcmp("/smuggle", cmdtext, true, 10) == 0)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 482)
how to add a command that spawns vehicle number 482 when player types /SMUGGLE ?
Help please.
if (strcmp("/smuggle", cmdtext, true, 10) == 0)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 482)
if (strcmp("/smuggle", cmdtext, true, 10) == 0)
{
new Float:Pos[3];
GetPlayerPosition(playerid, Pos[0], Pos[1], Pos[2]);
CreateVehicle(482, Pos[0], Pos[1], Pos[2], 82.2873, 0, 1, -1);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 482)