FANDOM


Poziva se kada igrac pokusa da se Spawnuje sa odredjenom klasom.

Parametri Edit

(playerid)
playerid - ID igraca koji zahteva spawn
Return - 0 - izbegava igracevo osvezavanje (spawnovanje)

Primer Edit

public OnPlayerRequestClass(playerid)
{
    if(!IsPlayerAdmin(playerid))
    {
        SendClientMessage(playerid,COLOR_GREEN,"Ne mozes da se spavnujes!");
        return 0;
    }
    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.