Hey ich habe ein porblem beim erstellen eines Pickups
Hier mal die errors
D:\Pawn\0.3C BETA\0.3c\gamemodes\Freeroum.pwn(797) : error 029: invalid expression, assumed zero
D:\Pawn\0.3C BETA\0.3c\gamemodes\Freeroum.pwn(797) : warning 215: expression has no effect
D:\Pawn\0.3C BETA\0.3c\gamemodes\Freeroum.pwn(797) : error 001: expected token: ";", but found ")"
D:\Pawn\0.3C BETA\0.3c\gamemodes\Freeroum.pwn(797) : error 029: invalid expression, assumed zero
D:\Pawn\0.3C BETA\0.3c\gamemodes\Freeroum.pwn(797) : 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.
Und hier die script zeilen
public OnPlayerPickUpPickup(playerid, pickupid)
{
if ( pickupid == 0 ){
ShowMenuForPlayer(hotel, playerid);
TogglePlayerControllable(playerid, 0);
SetPlayerInterior(playerid,2);
SetPlayerPos(playerid,1203.1212,13.0156,1001.4819);
GivePlayerMoney(playerid,+9999); //line 797
}
}
return 1;
}
//Edit hat sich erledigt Funzt jetzt alles