Detaljan opis problema:Ovako,napravim komandu privatemessage, i onda, nema ni errora ni warninga, ali mi baca na boje, tacnije, imam definisano COLOR_RED ili COLOR_YELLOW, ali i dalje mi baca errore.
Dio skripte:
Errori :
C:\Users\Cimbur\Desktop\MS.pwn(374) : error 017: undefined symbol "COLOR_RED"
C:\Users\Cimbur\Desktop\MS.pwn(377) : error 017: undefined symbol "yellow"
C:\Users\Cimbur\Desktop\MS.pwn(385) : error 017: undefined symbol "COLOR_YELLOW"
C:\Users\Cimbur\Desktop\MS.pwn(386) : error 017: undefined symbol "GetName"
C:\Users\Cimbur\Desktop\MS.pwn(387) : error 017: undefined symbol "yellow"Linije :
374 : if(sscanf(params,"u",igrac)) return SendClientMessage(playerid, COLOR_RED,"Koriscenje: /goto [ID Igraca]");
377 : SendClientMessage(playerid, COLOR_YELLOW,"Teleportovani ste");
385 : if(sscanf(params, "us", igrac, poruka)) return SCM(playerid, COLOR_YELLOW,"Koriscenje:/privatemessage ");
386 : format(string2, sizeof(string2), " Privatna poruka Vam stize od igraca %s: %s",GetName(playerid), poruka);
387 : SendClientMessage(igrac, COLOR_YELLOW, string2);
Neke slike/video za lakse dobivanje pomoci(neobavezno):
