18.12.2010, 02:04
why the hell are u doing this al the time?
if(IsPlayerNPC(playerid)) //Checks if the player that just spawned is an NPC.
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
maybe its because your returning one in the first isplayernpc check so it stops the function before the others
if(IsPlayerNPC(playerid)) //Checks if the player that just spawned is an NPC.
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
maybe its because your returning one in the first isplayernpc check so it stops the function before the others