Is 'player[>0<32]' appose from playerid possible
#1

lol i know 'player[>0<32]' is not a script but the idea could be,is the idea possible?See im getting an id 0 problem and im still trying to fix it lol
Reply
#2

Could you explain us a bit more please?
Reply
#3

ok what im asking is: is it possible to get a player function and automatically checks from id 0 to id 32,
Reply
#4

This code below will asign at the 0 to the variable playerid

If the variable playerid is smaller or 32 the CODE will be executed

After each loop playerid gets pre incremented by one

pawn Код:
for(new playerid = 0; playerid <= 32; ++playerid) {
    //CODE
}
Now go back to the sa-mp wiki and read the tutorials again
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)