SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 03/05/2010, 05:05 PM   #1
aircombat
High-roller
 
Join Date: Feb 2010
Posts: 1,535
Reputation: 9
Default Ammo!?!?

does anyone know how to create a function to give a player certain ammo like : SetPlayerAmmo (its bugged) , cause what i am trying to do is a /buyammo but if i used giveplayerweapon it will give him the weapon if he doesn't have it , i just want it to give him Ammo
__________________

aircombat is offline  
Old 03/05/2010, 05:39 PM   #2
Thrarod
Huge Clucker
 
Join Date: Jan 2010
Posts: 455
Reputation: 0
Default Re: Ammo!?!?

Check if the player has that weapon?
Thrarod is offline  
Old 03/05/2010, 06:14 PM   #3
Jefff
Banned
 
Join Date: Dec 2007
Posts: 2,593
Reputation: 326
Default Re: Ammo!?!?

RemovePlayerWeapon + GivePlayerWeapon
Jefff is offline  
Old 03/05/2010, 06:22 PM   #4
0ne
Gangsta
 
Join Date: Sep 2009
Posts: 539
Reputation: 0
Default Re: Ammo!?!?

nevermind
0ne is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gun ID and Ammo Typhome Help Archive 5 05/07/2010 06:16 PM
No ammo? RSC_Quicker Help Archive 1 17/02/2010 03:02 PM
How To Make Anti Ammo more than 1 ammo weapon jame20702 Help Archive 0 12/12/2009 07:00 AM
How do add ammo? kevin13 Help Archive 5 05/05/2009 06:15 PM
ammo in the gun Gerwin1 Help Archive 3 16/03/2009 04:38 PM


All times are GMT. The time now is 08:49 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.