1 error Help please.
#1

I am getting these errors while creating a robbery system for shops .Error for 1 line .. Help me please.

Код:
C:\Documents and Settings\User\Desktop\New Folder\CR-RP(LS)\GameModes\Test123.pwn(8265) : error 029: invalid expression, assumed zero
C:\Documents and Settings\User\Desktop\New Folder\CR-RP(LS)\GameModes\Test123.pwn(8265) : error 029: invalid expression, assumed zero
C:\Documents and Settings\User\Desktop\New Folder\CR-RP(LS)\GameModes\Test123.pwn(8265) : warning 215: expression has no effect
C:\Documents and Settings\User\Desktop\New Folder\CR-RP(LS)\GameModes\Test123.pwn(8265) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\User\Desktop\New Folder\CR-RP(LS)\GameModes\Test123.pwn(8265) : fatal error 107: too many error messages on one line
LInes


Код:
public OnPlayerConnect(playerid)

       RobbingTime[playerid] = 0;
Thank you .
Reply
#2

Where and how did you created RobbingTime?
Код:
public OnPlayerConnect(playerid)
{
       RobbingTime[playerid] = 0;
It must be created like this
Код:
new RobbingTime[MAX_PLAYERS];
Reply
#3

Quote:
Originally Posted by TzAkS.
Посмотреть сообщение
Where and how did you created RobbingTime?
Код:
public OnPlayerConnect(playerid)
{
       RobbingTime[playerid] = 0;
It must be created like this
Код:
new RobbingTime[MAX_PLAYERS];
Well, It was saying Symbol Not defined .
Reply
#4

If you didn`t created corectly,no.
Is created like i said?
If yes post here and more lines from OnPlayerConnect
Reply
#5

Nevermind It worked

Thank you + Repd
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)