Help me please
#1

E:\gamma\gamemodes\rpgx.pwn(66130) : warning 225: unreachable code
E:\gamma\gamemodes\rpgx.pwn(66130) : error 029: invalid expression, assumed zero

forward fraudemasina2l();
public fraudemasina2l();
{
foreach(Player,i)
{
SetTimer("fall", 4000, 0);
SetPlayerDrunkLevel(i, 4999;
LoopingAnim(i,"PED","KO_skid_front",4.1,0,0,0,0,0) ;
ertq=0;
}
return 1;
}

i don't understand, what's wrong ?
Reply
#2

I hope someone can help me.
Reply
#3

Change this line
PHP код:
public fraudemasina2l(); 
to this
PHP код:
public fraudemasina2l() 
remove the semicolon at the end
Reply
#4

Then, i'm getting this :
E:\gamma\gamemodes\rpgx.pwn(66130) : warning 225: unreachable code
E:\gamma\gamemodes\rpgx.pwn(66130) : error 029: invalid expression, assumed zero
Reply
#5

Just the same thing
Reply
#6

Quote:
Originally Posted by IonuTZElU
Посмотреть сообщение
Then, i'm getting this :
E:\gamma\gamemodes\rpgx.pwn(66130) : warning 225: unreachable code
E:\gamma\gamemodes\rpgx.pwn(66130) : error 029: invalid expression, assumed zero
Код:
forward fraudemasina2l();
public fraudemasina2l()
{
foreach(Player,i)
{
SetTimer("fall", 4000, 0);
SetPlayerDrunkLevel(i, 49998 );
LoopingAnim(i, "PED", "KO_skid_front" ,4.1,0,0,0,0,0) ;
ertq=0;
}
return 1;
}
Reply
#7

Quote:
Originally Posted by IonuTZElU
Посмотреть сообщение
Then, i'm getting this :
E:\gamma\gamemodes\rpgx.pwn(66130) : warning 225: unreachable code
E:\gamma\gamemodes\rpgx.pwn(66130) : error 029: invalid expression, assumed zero
Which line is 66130?
Reply
#8

The same thing @UFF, i want to remember that this is the last thing of the script, does this mean something ?
Reply
#9

I didn't return false, does this have something to do with this ?
Reply
#10

line 66130 is one of the last lines of the script.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)