30.04.2012, 21:10
I compiled this and it worked try it (it should work)::
Код:
CMD:veh(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 3)
{
new vehid;
new Float:x, Float:y, Float:z;
if(sscanf(params, "u", vehid)) return SendClientMessage(playerid, COLOR_RED, "Use /veh [vehicle id]");
else
{
GetPlayerPos(playerid, x, y, z);
CreateVehicle(vehid, x, y, z, 82.2873, 0, 0, 0);
return 1;
}
}
else return SendClientMessage(playerid, COLOR_RED, " ** You must be a level 3 Admin to use that! ");
}

