17.06.2012, 07:03
pawn Код:
dcmd_vehicle(playerid, params[]){
new
modelID = strval(params),
Float:PlayerX,
Float:PlayerY,
Float:PlayerZ
;
GetPlayerPos(playerid, PlayerX, PlayerY, PlayerZ);
CreateVehicle(modelID, PlayerX, PlayerY, PlayerZ, 128, random(50), random(50), -1);
return (true);
}