Mixed pickups?
#2

pawn Код:
new prisonInt;
new prisonOut;
pawn Код:
prisonInt = CreatePickup(1318, 1, -2624.9873,1411.7520,7.0938, -1); //For pickup to prison
prisonOut = CreatePickup(1318, 1, -5158.9604,2863.5662,32.1891 -1);//Prison door to go out (pickup) //prisonOut
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == prisonInt) {
    SetPlayerPos(playerid,-5159.8765,2867.2976,32.1891);
    }
    else if(pickupid == prisonOut) {
    SetPlayerPos(playerid,-2623.3435,1412.0813,7.0938);
    }
    return 1;
}
Reply


Messages In This Thread
Mixed pickups? - by davve95 - 23.06.2012, 19:52
Re: Mixed pickups? - by SnG.Scot_MisCuDI - 23.06.2012, 20:06
Re: Mixed pickups? - by davve95 - 23.06.2012, 20:35
Re: Mixed pickups? - by Ironboy - 23.06.2012, 21:11
Re: Mixed pickups? - by davve95 - 24.06.2012, 13:14

Forum Jump:


Users browsing this thread: 1 Guest(s)