[Tutorial] Making Stream And Stop Stream Commands
#6

Dude.. Don't use MAX_PLAYERS... Its not used anymore.. You should update yourself.

If you'd read the updates here: https://sampforum.blast.hk/showthread.php?tid=559572
You would see that it has been changed to:

PHP код:
new HighestPlayerId GetPlayerPoolSize();
for(new 
x=0<= HighestPlayerIdx++) { // (note the condition change from < to <=)
    
if(IsPlayerConnected(x)) { // do stuff with a player id
    
}

Also I REPed you because u most likely created this for reps and also for your effort
But please try to release correct stuff next time and don't teach people wrong ways.
Reply


Messages In This Thread
Making Stream And Stop Stream Commands - by dh240473 - 17.09.2015, 14:23
Re: Making Stream And Stop Stream Commands - by xTURBOx - 17.09.2015, 14:57
Re: Making Stream And Stop Stream Commands - by dh240473 - 17.09.2015, 14:58
Re: Making Stream And Stop Stream Commands - by J0sh... - 17.09.2015, 15:01
Re: Making Stream And Stop Stream Commands - by dh240473 - 17.09.2015, 15:03
Re: Making Stream And Stop Stream Commands - by Ahmad45123 - 17.09.2015, 15:10
Re: Making Stream And Stop Stream Commands - by dh240473 - 17.09.2015, 16:13
Re: Making Stream And Stop Stream Commands - by HydraHumza - 18.09.2015, 16:25

Forum Jump:


Users browsing this thread: 3 Guest(s)