Advertisement
Guest User

Untitled

a guest
May 26th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. new weapon = GetPlayerWeapon(playerid) == 24;
  2. new xweapon = GetPlayerWeapon(playerid) == 30;
  3. new zweapon = GetPlayerWeapon(playerid) == 34;
  4. new cweapon = GetPlayerWeapon(playerid) == 29;
  5. new Float:x, Float:y, Float:z;
  6. GetPlayerPos(playerid, x, y, z);
  7. if(weapon < 100)apsgundgl = CreatePickupA(348 ,1, x, y, z);
  8. if(xweapon < 100)apsgunak = CreatePickupA(355 ,1, x, y, z);
  9. if(zweapon < 100)apsgunawp = CreatePickupA(358 ,1, x, y, z);
  10. if(cweapon < 100)apsgunsmg = CreatePickupA(353 ,1, x, y, z);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement