FANDOM


IsPlayerAdmin Edit

Proverava da li je igrac ulogovan preko RCON-a.


Parametri:

(playerid)

playerid ID igraca za proveru.


Return: 1 ukoliko je ulogovan preko RCON-a, 0 ako nije.


public OnPlayerSpawn(playerid)
{
    if(IsPlayerAdmin(playerid)) SendClientMessageToAll(0xDEEE20FF, "Admin se spawnao.");
    else SendClientMessageToAll(0xDEEE20FF, "Igrac se spawnao.");
    return 1;
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.