21.05.2013, 03:36
Код:
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; }
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