FANDOM


IsPlayerNPCEdit

Proverava da li je igrac obican igrac ili NPC.


Parametri:

(playerid)

playerid ID igraca za proveru.


Return: 1 ukoliko je NPC, 0 ako nije.


public OnPlayerConnect(playerid)
{
    if (IsPlayerNPC(playerid))
    {
	SendClientMessageToAll(0x00000000,"NPC konektiran!");
	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.