Advertisement
Guest User

Pickup

a guest
Apr 21st, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.61 KB | None | 0 0
  1. public OnPlayerPickUpPickup(playerid, pickupid)
  2. {
  3.     if(pickupid == PICKUP_HOSPENTER)
  4.     {
  5.         blablablabla
  6.     }
  7.     if(pickupid == PICKUP_HOSPEXIT)
  8.     {
  9.         blablabla
  10.     }
  11.     if(pickupid == blablabla)
  12.     {
  13.         if(GetPlayerTeam(playerid) == 1)
  14.         {
  15.             blablabla
  16.         }
  17.         else if (GetPlayerTeam(playerid) == 2)
  18.         {
  19.             BLABLABLA
  20.         }
  21.     if(pickupid == PICKUP_FIRENTER) // this doesnt work
  22.     {
  23.         SetPlayerPos(playerid,322.197998,302.497985,999.148437);
  24.         SetPlayerVirtualWorld(playerid, 13);
  25.         SetPlayerInterior(playerid, 5);
  26.     }
  27.     }
  28.     return 1;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement