21.11.2009, 03:00
FYI, please use Pawn tags when posting pawn code, makes things a little easier with coloring. Anyway, the lines you pointed out in your code were not actual errors in your log, so not sure why you pointed those out, but anway...
This is your problem child
giveplayerid does not need to be an array in this case. Simply remove the [MAX_PLAYERS] and you should be fine.
This is your problem child
pawn Код:
new giveplayerid[MAX_PLAYERS] = closestplayer(playerid)
pawn Код:
new giveplayerid = closestplayer(playerid)