Possible to disable ID 0?
#4

Well my target code is this:
Код:
stock GetOtherPlayerNameEx()
{
    new targetid;
	new targetname[MAX_PLAYER_NAME];
	GetPlayerName(targetid, targetname,sizeof(targetname));
	for(new i;i<strlen(targetname);i++)
	{
		if(targetname[i] == '_') targetname[i] = ' ';
	}
	return targetname;
}
Should I alter this or simply add a NPC?

And thanks for the quick replies guys.
Reply


Messages In This Thread
Possible to disable ID 0? - by dholmes7512 - 01.05.2012, 20:04
Re: Possible to disable ID 0? - by Landon - 01.05.2012, 20:05
Re: Possible to disable ID 0? - by Mean - 01.05.2012, 20:11
Re: Possible to disable ID 0? - by dholmes7512 - 01.05.2012, 20:13
Re: Possible to disable ID 0? - by Vince - 01.05.2012, 20:27
Re: Possible to disable ID 0? - by dholmes7512 - 01.05.2012, 20:47

Forum Jump:


Users browsing this thread: 1 Guest(s)