Alles anzeigenmach mal so:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid==bsnenter)
{
SetPlayerPos(playerid,365.6832,-73.0517,1001.5078);
SetPlayerInterior(playerid,10);
}
if(pickupid==bsnexit)
{
SetPlayerPos(playerid,1199.2251,-920.6876,43.1066);
SetPlayerFacingAngle(playerid,182.1269);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
}
if(pickupid==ammuenter)
{
SetPlayerPos(playerid,316.524993,-167.706985,999.593750);
SetPlayerInterior(playerid,6);
}
if(pickupid==ammuexit)
{
SetPlayerPos(playerid,1367.2866,-1279.7377,13.5469);
SetPlayerFacingAngle(playerid,88.8145);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0)
}
return 1;
}
zeille 30 error wtf-.-
C:\Users\DJ Er-Han\Desktop\Mein script\gamemodes\oj.pwn(218) : error 001: expected token: ";", but found "}"