Errors Pls Help -
xOOLEn_Fresh - 07.08.2012
Hey Guys!
I have a Problem this are my Errors:
Zeile (1211) : error 029: invalid expression, assumed zero
Zeile (1211) : warning 215: expression has no effect
Zeile (1211) : error 001: expected token: ";", but found "if"
Zeile (121
: error 029: invalid expression, assumed zero
an there they are:
forward hacktimer(playerid);
public hacktimer(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,5.0,2496.3586,2 778.2888,10.8203))
{
MoveObject(tor[0],2498.19995117,2772.89990234,19.50000000,5);
SendClientMessage(playerid,BLAU,"Du hast erfolgreich das Mafiator gehackt");
DisablePlayerCheckpoint(playerid);
}
else
{
SendClientMessage(playerid,ROT,"Da du nicht im Checkpoint geblieben bist wurde der hack abgebrochen");
DisablePlayerCheckpoint(playerid);
}
else if(IsPlayerInRangeOfPoint(playerid,5.0,2334.3945,2 439.9675,6.0607))
{
{
MoveObject(tor[1],2335.10009766,2443.50000000,7.09999990-10,5);
SendClientMessage(playerid,BLAU,"Du hast erfolgreich das Polizeitor gehackt");
DisablePlayerCheckpoint(playerid);
}
else
{
SendClientMessage(playerid,ROT,"Da du nicht im Checkpoint geblieben bist wurde der hack abgebrochen");
DisablePlayerCheckpoint(playerid);
}
}
return 1;
}
Sorry for my english i normaly speak German^^
Greetings from Austria
Re: Errors Pls Help -
Cxnnor - 07.08.2012
Use pawn tags, and also please mark where the error-ed line is.
Re: Errors Pls Help -
xOOLEn_Fresh - 07.08.2012
ok
thx