
05-17-2002, 12:08 AM
|
|
where da wmdz at
|
 |
Join Date: Jun 2001
Location: Windsor, Illinois
Posts: 3,665
|
|
|
Jeff:
The script for the weapon, if it'll actually help you, is as follows:
if(playerenters){
toweapons Noobie Explo Script;
setstring client.ammo,10;
}
if(weaponfired){
if(strtofloat(#s(client.ammo))>0){
for(i=0;i<playerscount;i++){
putexplosion 1,players[i].x,players[i].y;
}
setstring client.ammo,#v(strtofloat(#s(client.ammo))-1);
}
}
Less than 5 minutes to do...ammo salesmen modify string client.ammo.
*this was a public service announcement to hopefully shut up this worthless thread*
Kai, if I were you I'd make a rule against hiring threads in NPC Scripting. They belong in Playerworlds x.x
|
|
|
|