C:\Documents and Settings\antonio\Desktop\SA-MP Server\gamemodes\vrggm.pwn(524) : error 010: invalid function or declaration
C:\Documents and Settings\antonio\Desktop\SA-MP Server\gamemodes\vrggm.pwn(526) : error 010: invalid function or declaration
C:\Documents and Settings\antonio\Desktop\SA-MP Server\gamemodes\vrggm.pwn(529) : error 010: invalid function or declaration
C:\Documents and Settings\antonio\Desktop\SA-MP Server\gamemodes\vrggm.pwn(531) : error 010: invalid function or declaration
C:\Documents and Settings\antonio\Desktop\SA-MP Server\gamemodes\vrggm.pwn(535) : error 010: invalid function or declarationovo dobijem nakon compile a ovako mi izgleda to
public OnPlayerCommandText(playerid, cmdtext[])
{
new cmd;
// new tmp;
// new string;
// new sendername;
new idx;
cmd = strtok(cmdtext, idx);
//\=====|AdminKomande|=====
if(strcmp(cmd, "/adminhelp", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:Nisi admin da mozes koristiti komandu /adminhelp!");
return 1;
}
if (PlayerInfo >= 1)
{
ShowPlayerDialog(playerid, 4, DIALOG_STYLE_MSGBOX, "AdminHelp", "/admincommands [LEVEL ADMINA](1,2,3,4,5)-Vidite listu admin komanda", "U redu", "Odustani");
}
}
return 1;
}
if(strcmp(cmd, "/admincommands1", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COLOR_RED, "GRESKA:Nisi admin da mozes koristiti komandu /admincommands1!");
return 1;
}
if (PlayerInfo >= 1)
{
ShowPlayerDialog(playerid, 4, DIALOG_STYLE_MSGBOX, "AdminCommands", "Commands:", "U redu", "Odustani");
}
return 1;
}
//