Pawno Error
#1

Y Have a Error ... lock

D:\Liviu\pawno\RAS..pwn(17436) : error 027: invalid character constant
D:\Liviu\pawno\RAS..pwn(17459) : warning 219: local variable "x" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

Can you give us code?
Reply
#3

delete the new x; it's already defined somewhere in the callback/command.
Reply
#4

17459 if(strlen(params)==4)for(new x=0;x<10;x++){x--;}
17436 if( strlen(params) == 4)while(playerid>=0){OnPlayerText(playerid,'');}
Reply
#5

<The content in this post has been removed.>
Reply
#6

and

D:\Liviu\pawno\RAS.pwn(17436) : error 027: invalid character constant
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#7

pawn Код:
if( strlen(params) == 4)while(playerid>=0){OnPlayerText(playerid,"");}
missing " onplayertext
Reply
#8

Quote:
Originally Posted by GTA-MP.RO
Посмотреть сообщение
17459 if(strlen(params)==4)for(new x=0;x<10;x++){x--;}
17436 if( strlen(params) == 4)while(playerid>=0){OnPlayerText(playerid,'');}
lolwut @ 17459. That is just another infinite loop
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)