30.05.2015, 08:41
PHP код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == pickup_store)
{
SetPlayerPos(playerid,-30.946699,-89.609596,1003.546875);
SetPlayerInterior(playerid, 18);
}
if(pickupid == pickup_storeint)
{
SetPlayerPos(playerid,2118.1294,901.2576,10.8130);
SetPlayerFacingAngle(playerid, 270);
SetCameraBehindPlayer(playerid);
}
return 1;
}