PAWNO error 076
#1

Код:
CMD:plate(playerid, params[])
{
	new numberplate[35], string[128];
	new vid = GetPlayerVehicleID
	if(PlayerInfo[playerid][pAdmin] < 1) return SCM(playerid, COLOR_GREY, "unauthorized");
	if(sscanf(params,"u", numberplate)) return SCM(playerid, COLOR_GREY, "Usage: /plate [text]");
	{
		SetVehicleNumberPlate(vid, numberplate);
		format(string,sizeof(string),"{006600}[Vehicle] {AFAFAF}Plate changed to {006600}%s{AFAFAF}!", numberplate);
		SendClientMessage(playerid,COLOR_GREY,string);
	}
	return 1;
}
This is my code for a /plate command to set the numberplate.

Giving me this error constantly.

Код:
C:\Users\Scoot\Desktop\Roleplay\gamemodes\rp.pwn(3740 -- 3741) : error 076: syntax error in the expression, or invalid function call
Reply


Messages In This Thread
PAWNO error 076 - by Gecko75 - 21.05.2013, 03:36
Re: PAWNO error 076 - by [ABK]Antonio - 21.05.2013, 03:46

Forum Jump:


Users browsing this thread: 2 Guest(s)