Hallo liebes SA-MP.de Forum,
ich habe folgendes prob
Und zwar ich habe ingame die Coords gesaved... und nun möchte ich mehr tankstellen erstellen ingame..
hat auch alles bis jetzt super geklapt .. nur nun kommt folgender Fehler:
C:\Users\Matthias-laptop\Desktop\Royal-Streets.de\Script\gamemodes\bsrp.pwn(3469) : warning 202: number of arguments does not match definition
C:\Users\Matthias-laptop\Desktop\Royal-Streets.de\Script\gamemodes\bsrp.pwn(3470) : warning 202: number of arguments does not match definition
C:\Users\Matthias-laptop\Desktop\Royal-Streets.de\Script\gamemodes\bsrp.pwn(3471) : warning 202: number of arguments does not match definition
C:\Users\Matthias-laptop\Desktop\Royal-Streets.de\Script\gamemodes\bsrp.pwn(3472) : warning 202: number of arguments does not match definition
C:\Users\Matthias-laptop\Desktop\Royal-Streets.de\Script\gamemodes\bsrp.pwn(3473) : warning 202: number of arguments does not match definition
C:\Users\Matthias-laptop\Desktop\Royal-Streets.de\Script\gamemodes\bsrp.pwn(3474) : warning 202: number of arguments does not match definition
C:\Users\Matthias-laptop\Desktop\Royal-Streets.de\Script\gamemodes\bsrp.pwn(3475) : warning 202: number of arguments does not match definition
C:\Users\Matthias-laptop\Desktop\Royal-Streets.de\Script\gamemodes\bsrp.pwn(3476) : warning 202: number of arguments does not match definition
C:\Users\Matthias-laptop\Desktop\Royal-Streets.de\Script\gamemodes\bsrp.pwn(3477) : warning 202: number of arguments does not match definition
C:\Users\Matthias-laptop\Desktop\Royal-Streets.de\Script\gamemodes\bsrp.pwn(3478) : warning 202: number of arguments does not match definition
C:\Users\Matthias-laptop\Desktop\Royal-Streets.de\Script\gamemodes\bsrp.pwn(3479) : warning 202: number of arguments does not match definition
C:\Users\Matthias-laptop\Desktop\Royal-Streets.de\Script\gamemodes\bsrp.pwn(36665) : error 017: undefined symbol "IsInATanke"
C:\Users\Matthias-laptop\Desktop\Royal-Streets.de\Script\gamemodes\bsrp.pwn(36691) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Und hier mein Tanksystem:
//Tanksystem
IsInATanke(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,8,1004.2466,-939.6616,42.1797)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,1003.5865,-933.5878,42.1797)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,1939.0986,-1773.5193,13.3828)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,1944.2285,-1773.4950,13.3906)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,1582.4739,86.5298,37.9000)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,1678.2773,60.8478,38.2947)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,2114.7285,917.0639,10.8203)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,2115.2595,923.6724,10.8203)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,2115.2595,923.6724,10.8203)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,2114.9773,927.4148,10.8203)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,1941.7092,2072.7744,10.8203)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,1945.4882,2073.6533,10.8203)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,-91.1929,-1168.3868,2.4335)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,-91.1929,-1168.3868,2.4335)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,-86.0834,-1173.8900,2.1935)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,-94.6466,-1161.0139,2.1993)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,-1676.2583,413.2918,7.1797)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,-1684.1252,417.5155,7.1797)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,-1671.3483,405.6822,7.1797)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,-2029.6547,157.4167,28.8359)) return 1;
if(IsPlayerInRangeOfPoint(playerid,8,-2022.3765,156.1542,28.8359)) return 1;
return 0;
}
if (HOLDING( KEY_HANDBRAKE ))
{
new carid = GetPlayerVehicleID(playerid);
if(IsAtTanke(playerid) && IsPlayerInAnyVehicle(playerid))
{
if(GetVehicleModel(vid) == 481)
{
SendClientMessage(playerid,Rot,"Du kannst dein Fahrrad nicht betanken!");
return 1;
}
if(VehicleStarted[vid] == 1)
{
SendClientMessage(playerid,Rot,"Du musst deinen Motor ausschalten, bevor du tanken kannst!");
return 1;
}
if(MotorKaputt[vid] == 1)
{
SendClientMessage(playerid,Rot,"Dein Motor ist kaputt du kannst jetzt nicht tanken!");
return 1;
}
if(BizzInfo[0][bProducts] <= 0)
{
SendClientMessage(playerid,Rot,"Die Tankstelle hat kein Benzin mehr!");
return 1;
}
if(Tankmenge[vid] == GasMax[GetVehicleModel(vid)-400])
{
SendClientMessage(playerid,Rot,"Dein Fahrzeugtank ist voll!");
return 1;
}
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER)
return SendClientMessage(playerid,Rot,"Du bist nicht der Fahrer des Fahrzeuges!");
//if(IsPlayerInRangeOfPoint(playerid,9.0,2530.9690,2712.4160,10.8203))
{
SetPVarInt(playerid,"ATanke",1);
}
if(IsACopCar(carid))
{
if(GetPlayerEuros(playerid) < BizzInfo[0][bEntranceCost] && !IsACopCar(carid) && Staatskasse < BizzInfo[0][bEntranceCost])
{
SendClientMessage(playerid,Rot,"Du hast nicht genügend Geld dabei um zu tanken!");
return 1;
}
}
if(IsSupportCar(carid))
{
Tanken(playerid);
return 1;
}
if(GetPlayerEuros(playerid) < BizzInfo[0][bEntranceCost] && !IsACopCar(carid))
{
SendClientMessage(playerid,Rot,"Du hast nicht genügend Geld dabei um zu tanken!");
return 1;
}
Tanken(playerid);
}
}
Würde mich freuen wenn mir jemand dabei helfen könnte.
mfg CoreX