![]() |
'No ammo' Problem !
Okay, hello everyone. I work on a gun script for my server but the problem is with the ammunitions :(
It say "No ammo" ! PHP Code:
|
|
Use this serverside to modify a clientr var.
PHP Code:
PHP Code:
Google JavaScript beautifier and run you're code through it. |
Quote:
Now i have that : PHP Code:
|
I have tried to fix up you're script.
Try this out. PHP Code:
You only really need two.. clip and ammo, but for this script you only need ammo. |
Quote:
|
Quote:
I would put a limit-Standing for the charger. When the player shoots 5 balls, it must charge to fulfill its charger. How can I do it? |
Quote:
PHP Code:
PHP Code:
Just something quick bumped |
Quote:
I would recite the give a guy a piece of bread and he'll live a day thing but you already get the point ;) |
I wasn't after brownie points.
I think the best way to learn is by studying other scripts and trial and error. That is why I fixed it up a bit. Also, yes Callimuc I think it's onActionProjectiles(){ I wasnt paying enough attention. |
| All times are GMT +2. The time now is 05:22 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.