12.10.2014, 10:37
I changed the command actually. But still doesn't works.
Код:
// VEHICLE COMMAND CMD:veh(playerid, params[]) { if(!strlen(params)) return SendClientMessage(playerid, red, "Error. Usage: /veh [modelid]"); if(strval(params) > 611 || strval(params) < 400) return SendClientMessage(playerid, red, "Error. Models are between 400 and 611."); new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); PutPlayerInVehicle(playerid, CreateVehicle(strval(params), x, y, z, 0.0, -1, -1, -1), 0); return 1; }