16.05.2014, 17:25
pawn Код:
new BurgerPickup;
BurgerPickup = CreatePickup(1559, 1, XPOS, YPOS, ZPOS, 0);
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == BurgerPickup)
{
SetPlayerVirtualWorld(playerid, 10);
SetPlayerPos(playerid, 363.4129, -74.5786, 1001.5078);
SetCameraBehindPlayer(playerid);
return 1;
}
return 1;
}