24.12.2018, 06:26
Please briefly explain what I did wrong, don't just give me the code I need to put, tyty in advance
PHP код:
CMD:veh(playerid, params[])
{
new vehid, float:x, float:y, float:z;
if(sscanf(params, "i", vehid)) return SendClientMessage(playerid, -1, "[USAGE]: /veh [vehid]");
GetPlayerPos(playerid, x, y, z);
CreateVehicle(vehid, x+3.0, y, z, 0.0, 0, 0, 0);
return 1;
}