- public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid==bsnenter)
{
SetPlayerPos(playerid,365.8350,-73.6772,1001.5078);
SetPlayerInterior(playerid,10);
}
if(pickupid==bsnexit)
{
SetPlayerPos(playerid,1199.6584,-921.3839,43.1094);
SetPlayerFacingAngle(playerid,193.1027);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
}
return 1;
}
Eig alles richtig
-
C:\Users\Nico\Desktop\Selfmade Server\gamemodes\Ultimate-Selfmade.pwn(172) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase1 Warning.
Falls jemadn weiß warum das Pickup im bsn nicht erscheint pls melden
- public OnGameModeInit()
{
bsnenter=CreatePickup(1559,1,1199.3176,-918.6033,43.1193);
bsnexit=CreatePickup(1559,1,62.9931,-75.1433,1001.5078);
- new bsnenter;
new bsnexit;