26.02.2010, 16:00
i am looking to create a filterscript which utilises the above fufunction. What do i need to return to make sure it doesnt overrule the gamemode script
ie return 1
ie return 1
public OnPlayerConnect(playerid) { if(IsPlayerNPC(playerid)) { SendClientMessageToAll(0xFFFF00AA,"NPC detected."); } new name[MAX_PLAYER_NAME], string[48]; GetPlayerName(playerid, name, sizeof(name)); format(string,sizeof(string),"** %s joined the game.",name); SendClientMessageToAll(0xffffffff,string); return 1; }