05.08.2012, 11:29
You are not the only one, who has these stupid little mistakes. This is one of my mistakes that I usually make:
I always forget that its not playerid I should use inside the loop. ![Cheesy](images/smilies/biggrin.png)
And for the things you want to remember, I make a to-do list above everything in the main .pwn file (ofc. its commented) and I always track this list so I can remember what I have done and what needs to be done.
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++) {
if(IsPlayerConnected(playerid)) {
// ...
}
}
![Cheesy](images/smilies/biggrin.png)
And for the things you want to remember, I make a to-do list above everything in the main .pwn file (ofc. its commented) and I always track this list so I can remember what I have done and what needs to be done.