19.01.2015, 14:13
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;
}
Quote:
C:\Users\Diti\Desktop\Server\samp03z_svr_R1_win32\ gamemodes\Server.pwn(133) : error 076: syntax error in the expression, or invalid function call C:\Users\Diti\Desktop\Server\samp03z_svr_R1_win32\ gamemodes\Server.pwn(136) : warning 202: number of arguments does not match definition C:\Users\Diti\Desktop\Server\samp03z_svr_R1_win32\ gamemodes\Server.pwn(136) : warning 215: expression has no effect C:\Users\Diti\Desktop\Server\samp03z_svr_R1_win32\ gamemodes\Server.pwn(136) : warning 215: expression has no effect C:\Users\Diti\Desktop\Server\samp03z_svr_R1_win32\ gamemodes\Server.pwn(136) : warning 215: expression has no effect C:\Users\Diti\Desktop\Server\samp03z_svr_R1_win32\ gamemodes\Server.pwn(136) : error 001: expected token: ";", but found ")" C:\Users\Diti\Desktop\Server\samp03z_svr_R1_win32\ gamemodes\Server.pwn(136) : error 029: invalid expression, assumed zero |