Heute Abend habe ich versucht mich an ein Navi-System aber bekomme irgendwie fehler:
if(dialogid== DIALOG_NAVI)
{
if(response)
{
if(listitem==0)
{
if(!IsPlayerInRangeCheckpoint(playerid))
{
SetPlayerCheckpoint(playerid,1720.9348,-1605.5741,13.2839,4);
SendClientMessage(playerid,grün,"Sie sind an der Stadthalle")
}
}
if(listitem==1)
{
if(!IsPlayerInRangeCheckpoint(playerid))
{
SetPlayerCheckpoint(playerid,2461.3162,1707.8856,10.4814,4);
SendClientMessage(playerid,grün,"Sie sind am Autohauslv");
}
}
if(listitem==2)
{
if(!IsPlayerInRangeCheckpoint(playerid))
{
SetPlayerCheckpoint(playerid,1129.1177,-1706.2179,13.2925,4);
SendClientMessage(playerid,grün,"Sie sind an der Busstation");
}
}
if(listitem==3)
{
if(!IsPlayerInRangeCheckpoint(playerid))
{
SetPlayerCheckpoint(playerid,2082.0825,-2031.3174,13.2832,4);
SendClientMessage(playerid,grün,"Sie sind am Mülldepo");
}
}
if(listitem==4)
{
if(!IsPlayerInRangeCheckpoint(playerid))
{
SetPlayerCheckpoint(playerid,1363.7589,-1280.4430,13.2370,4);
SendClientMessage(playerid,color,"Sie sind am Waffenladen");
}
}
}
}
samplernen.p(1596) : error 017: undefined symbol "IsPlayerInRangeCheckpoint"
samplernen.p(1600) : error 001: expected token: ";", but found "}"
samplernen.p(1604) : error 017: undefined symbol "IsPlayerInRangeCheckpoint"
samplernen.p(1612) : error 017: undefined symbol "IsPlayerInRangeCheckpoint"
samplernen.p(1620) : error 017: undefined symbol "IsPlayerInRangeCheckpoint"
samplernen.p(1628) : error 017: undefined symbol "IsPlayerInRangeCheckpoint"
samplernen.p(1631) : error 017: undefined symbol "color"