- 0
error 029: invalid expression, assumed zero
-
Similar Content
-
- 1 reply
- 2.001 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
shean
D:\samp03\filterscripts\VamaT.pwn(136) : warning 225: unreachable code
D:\samp03\filterscripts\VamaT.pwn(136) : error 029: invalid expression, assumed zero
D:\samp03\filterscripts\VamaT.pwn(136) : warning 215: expression has no effect
D:\samp03\filterscripts\VamaT.pwn(136) : error 001: expected token: ";", but found "if"
D:\samp03\filterscripts\VamaT.pwn(179) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
[pawn]linia 136: else if(PlayerToPoint(5.0, playerid, -9.1664,-1361.7852,10.7733))
{
if(PlayerInfo[playerid][pPassport] == 1)
{
MoveObject(vama2, -8.9464988708496,-1356.9973144531,10.706520080566, 5.5);
SetTimer("vamaClose", 3000, 0);
SendClientMessage(playerid, COLOR_1GREEN, "Ai platit vamei 100$ pentru a putea trece..Vama se va inchide in 3 secunde");
GivePlayerMoney(playerid,-100);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "* You don't have an Passport, go in the City Hall and buy one.");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "You are not at Barrier.");
return 1;
}
}[/pawn]
3 answers to this question
Recommended Posts