 |
|
Veteran Member
Join Date: Jul 2004
Location: The Cookie Jar... or Pul
|

12-30-2005
, 16:38
|
#2
|
It is usually best to use arrays in order to accomplish this. Then you would tell the plugin to give the person with the badge the item but nobody else.
Seeing that I have a poor attention span, i will explain it rather than code it.
You will need an array that will store the players id (userid, steamid, etc...) (one of those). Then, you will need a for loop to check all of the indices and an if statement in the for loop to see if they have the badge. If they do, continue giving item, if they do not, go to the next index.
__________________
|
|
|
|