Quote:
Originally Posted by Ahmad45123
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; x <= HighestPlayerId; x++) { // (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.
|
Ok,Thx For The Guide Srsly I'm Not Checking The Update

Just Wanna Share The Script

And Let Everyone Know The Script Nvm I Will Fix The Code