19.10.2013, 15:47
hello helpers ,
hope you had a great day today ,
and after that i have a litle problem whene i compile , i dont know , itryed allot of things but no sulotion ..
here is the error code :
and here is the code source
hope you had a great day today ,
and after that i have a litle problem whene i compile , i dont know , itryed allot of things but no sulotion ..
here is the error code :
PHP код:
C:\Documents and Settings\admin\Bureau\sdg\filterscripts\truckerjob.pwn(44) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
PHP код:
CMD:loadtruck(playerid, params[])
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_RED, "You are not driving a truck from the depot.");
if(!IsPlayerInRangeOfPoint(playerid, 7.5, 2485.4292,-2120.2351,13.5469) && !IsPlayerInRangeOfPoint(playerid, 7.5, 2460.3623,-2119.8494,13.5530)
&& !IsPlayerInRangeOfPoint(playerid, 7.5, 2509.6421,-2120.6365,13.5469))
{
SendClientMessage(playerid, COLOR_RED, "You are not near the loading place.");
return 1;
}
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Welcome to the factory, what would you like to deliver?", "{00B000}Drinks and Food($500) \n{00B000}Clothing($1000) \n{A70000}Drugs($1500) \n{A70000}Illegal Fire Arms($2000)", "Load Truck", "Cancel");
return 1;
}
return 1; // // // // // // this is the line 44
}