Hier mein code:
ocmd:einlagern(playerid,params)
{
if(GetPVarInt(playerid,"Fraktion")==2)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 223.2816,186.5910,1003.0313))
{
dini_IntSet("/daten/bombenlager.ini", "Bomben", +1);
SetPVarInt(playerid,"Bomben",0);
}
}
return 1;
}
ocmd:entnehmen(playerid,params)
{
if(GetPVarInt(playerid,"Fraktion")==2)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 223.2816,186.5910,1003.0313))
{
dini_IntSet("/daten/bombenlager.ini", "Bomben", +1);
SetPVarInt(playerid,"Bomben",0);
}
}
return 1;
}
hier der fehler:
Code
C:\Users\Hannes\Desktop\GTA\gamemodes\netsen.pwn(7) : error 029: invalid expression, assumed zero
C:\Users\Hannes\Desktop\GTA\gamemodes\netsen.pwn(7) : warning 215: expression has no effect
C:\Users\Hannes\Desktop\GTA\gamemodes\netsen.pwn(7) : error 001: expected token: ";", but found ")"
C:\Users\Hannes\Desktop\GTA\gamemodes\netsen.pwn(7) : error 029: invalid expression, assumed zero
C:\Users\Hannes\Desktop\GTA\gamemodes\netsen.pwn(7) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Alles anzeigen