19.01.2015, 14:23
pawn Код:
CMD:v(playerid, params[])
{
new vid, pName[MAX_PLAYER_NAME],Float:X,Float:Y,Float:Z,string[128];
if(sscanf(params,"i",vid)) return SendClientMessage(playerid, -1, "Pick a number between 400 and 611");//
CreateVehicle(vid,X,Y,Z,1,1,1,10000);
GetPlayerName(playerid,pName,sizeof(pName));
format(string,sizeof(string),"Player %s has spawned vehicle ID: %i.",pName,vid);//
SendClientMessageToAll(-1,string);
return 1;
}