Errors..
#1

Код:
if oldplayer[MAX_PLAYERS] == 0)
Gives me
Quote:

C:\DOCUME~1\ANNIKA~1.DIT\SKRIVB~1\Pawno\pawno\NEWG AM~1.PWN(113) : error 032: array index out of bounds (variable "oldplayer")
C:\DOCUME~1\ANNIKA~1.DIT\SKRIVB~1\Pawno\pawno\NEWG AM~1.PWN(113) : error 029: invalid expression, assumed zero

Reply
#2

if (oldplayer[playerid] == 0)

maybe?
Reply
#3

Ahhh, a small mistake, thx anyway.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)