Advertisement
Guest User

Untitled

a guest
Mar 6th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.86 KB | None | 0 0
  1. stock CreateInterior(Float:eX, Float:eY, Float:eZ, Float:iX, Float:iY, Float:iZ, labeltext[], pickupid, virtualworld, interior, faction = -1)
  2. {
  3.     new SAMPid = CreateDynamicPickup(pickupid, 0, eX, eY, eZ);
  4.     //CreateDynamicPickup(pickupid, 0, iX, iY, iZ, -1, interior);
  5.     CreateDynamic3DTextLabel(labeltext, 0xFFFFFFFF, eX, eY, eZ, 5.0);
  6.     new string[120];
  7.     format(string, sizeof(string), labeltext);
  8.     PickupInfo[ID_PICKUP][ID] = SAMPid;
  9.     PickupInfo[ID_PICKUP][ePX] = eX;
  10.     PickupInfo[ID_PICKUP][ePY] = eY;
  11.     PickupInfo[ID_PICKUP][ePZ] = eZ;
  12.     PickupInfo[ID_PICKUP][iPX] = iX;
  13.     PickupInfo[ID_PICKUP][iPY] = iY;
  14.     PickupInfo[ID_PICKUP][iPZ] = iZ;
  15.     sscanf(labeltext, "s[128]", PickupInfo[ID_PICKUP][PText]);
  16.     PickupInfo[ID_PICKUP][World] = virtualworld;
  17.     PickupInfo[ID_PICKUP][Interior] = interior;
  18.     PickupInfo[ID_PICKUP][Faction] = faction;
  19.     ID_PICKUP++;
  20.     return 1;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement