erreur
#1

Код HTML:
pInfo[playerid][tutorial] = 1;
Код HTML:
error 028: invalid subscript (not an array or too many subscripts): "pInfo"
Код HTML:
warning 215: expression has no effect
Код HTML:
error 001: expected token: ";", but found "]"
Код:
error 029: invalid expression, assumed zero
Код:
fatal error 107: too many error messages on one line
For what pleases
Reply
#2

Can U show use the code where errors appear (lines) please
Reply
#3

The line or there's error is its

pInfo[playerid][tutorial] = 1;
Reply
#4

Show me the enum and the
Код:
new pInfo[MAX_PLAYERS][....]
Reply
#5

Код HTML:
arning 219: local variable "pInfo" shadows a variable at a preceding level
C:\Users\Yamaha\Desktop\-\gamemodes\LSVRP.pwn(8702) : error 017: undefined symbol "Tutorial"
C:\Users\Yamaha\Desktop\-\gamemodes\LSVRP.pwn(8703) : error 028: invalid subscript (not an array or too many subscripts): "pInfo"
C:\Users\Yamaha\Desktop\-\gamemodes\LSVRP.pwn(8703) : warning 215: expression has no effect
C:\Users\Yamaha\Desktop\-\gamemodes\LSVRP.pwn(8703) : error 001: expected token: ";", but found "]"
C:\Users\Yamaha\Desktop\-\gamemodes\LSVRP.pwn(8703) : error 029: invalid expression, assumed zero
C:\Users\Yamaha\Desktop\-\gamemodes\LSVRP.pwn(8703) : fatal error 107: too many error messages on one line
Код:
new pInfo[MAX_PLAYERS][Tutorial]
			pInfo[playerid][Tutorial] = 1;
Reply
#6

Oooh I see

Just make
PHP код:
new Tutorial[MAX_PLAYERS]; 
And
PHP код:
Tutorial[playerid] = 1
Noo need of pInfo
Reply
#7

Ohhhhh thanks !!!!!! I give you one rep after 24
Reply
#8

Quote:
Originally Posted by Sirop
Посмотреть сообщение
Ohhhhh thanks !!!!!! I give you one rep after 24
Likea dis.

Код:
new Tutorial[MAX_PLAYERS];
Reply
#9

No problem !!
Just stay doing good scripts!!

And @MD5 stop getting posts like this way
Reply
#10

Quote:
Originally Posted by kalanerik99
Посмотреть сообщение
No problem !!
Just stay doing good scripts!!

And @MD5 stop getting posts like this way
You just edited your own post after I corrected you simply.. you forgot the token ;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)