How to get playerid under such callback as OnVehicleSpawn
#5

Quote:
Originally Posted by [WSF]ThA_Devil
Посмотреть сообщение
Код:
test.pwn(534) : error 001: expected token: ")", but found ";"
test.pwn(534) : error 036: empty statement
test.pwn(534) : error 029: invalid expression, assumed zero
test.pwn(534) : fatal error 107: too many error messages on one line
pawn Код:
for(new playerid; playerid < MAX_PLAYERS; playerid++;)
Well, firstly you can NOT use playerid in a loop, since it's already defined. This one is correct:

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)