Hallo,
Ich hab probleme bei meinem car spawn script an einer stelle.
Error...
C:\Users\***\Desktop\SA-MP Server\gamemodes\pwn\GM.pwn(7032) : error 010: invalid function or declaration
C:\Users\***\Desktop\SA-MP Server\gamemodes\pwn\GM.pwn(7035) : error 010: invalid function or declaration
C:\Users\***\Desktop\SA-MP Server\gamemodes\pwn\GM.pwn(7104) : warning 209: function "Streamer_OnPlayerConnect" should return a value
C:\Users\***\Desktop\SA-MP Server\gamemodes\pwn\GM.pwn(10418) : warning 217: loose indentation
C:\Users\***\Desktop\SA-MP Server\gamemodes\pwn\GM.pwn(11553) : warning 203: symbol is never used: "GetVehicleWithinDistance"
C:\Users\***\Desktop\SA-MP Server\gamemodes\pwn\GM.pwn(11553) : warning 203: symbol is never used: "IsPlayerInInvalidNosVehicle"
C:\Users\***\Desktop\SA-MP Server\gamemodes\pwn\GM.pwn(11553) : warning 203: symbol is never used: "IsVehicleToy"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
und der Code an der stelle:
public OnPlayerExitVehicle(playerid, vehicleid)
{
InCar[playerid] = false;
}
////////Car Script//////////////
if(vehicleid == SpawnedVehicle[playerid]) {
DestroyVehicle(SpawnedVehicle[playerid]);
pHasSpawnedVehicle[playerid] = 0; }
return 1; }
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////