Bot selected as bonus
#4

We do not know how you do "select" the players but i assume you are using a loop...
pawn Код:
if(IsPlayerNPC(playerid))continue; //will skip the ID when the the ID is used by a bot
else //do stuff, e.g. add real player IDs to an array to make them selectable later on...
Reply


Messages In This Thread
Bot selected as bonus - by Ananisiki - 21.04.2014, 20:02
Re: Bot selected as bonus - by SkittlesAreFalling - 21.04.2014, 20:03
Re: Bot selected as bonus - by Ananisiki - 21.04.2014, 20:04
Re: Bot selected as bonus - by BlackWolf120 - 21.04.2014, 20:06
Re: Bot selected as bonus - by SkittlesAreFalling - 21.04.2014, 20:08
Re: Bot selected as bonus - by BlackWolf120 - 21.04.2014, 20:10
Re: Bot selected as bonus - by Ananisiki - 21.04.2014, 20:16
Re: Bot selected as bonus - by SkittlesAreFalling - 21.04.2014, 20:19
Re: Bot selected as bonus - by Ananisiki - 21.04.2014, 20:21
Re: Bot selected as bonus - by SkittlesAreFalling - 21.04.2014, 20:29

Forum Jump:


Users browsing this thread: 1 Guest(s)