Raised This Month: $ Target: $400
 0% 

need help in correcting this code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
nfoxad
New Member
Join Date: Dec 2013
Old 11-15-2014 , 10:15   need help in correcting this code
Reply With Quote #1

ok so i dont know much about scripting in pawn but i tried to edit this zp50_zombie_classes

but as expected it is not working according to what i need.

Please if any good scrptor can correct this code.Any help is really appreciated.

Now what i really want is that when a player opens the zombie classes menu

it will show the zombie classes like this......

1.Raptor Zombie HP++ GRAVITY+ KB-- [12000$]

Now everything in the above is already available in the default zp50_zombie_classes

but the 12000$ part is new

i tried to do that only that if the player has less than the displayed money dont give the class to that player and again show the menu.
But if the player has more or equal to the displayed money then unlock the class and give that class to the given player and next time when he spawns and the menu is displayed it will show something like this

1.Raptor Zombie HP++ GRAVITY+ KB-- (Unlocked)

the money is editable in the zombie_classes.ini file by the MONEY attribute in register_zombie_class

i tried to edit it but after editing it has all messed up please if anyone can help
i would really appreciate it
Attached Files
File Type: sma Get Plugin or Get Source (zp50_class_zombie5.sma - 42 views - 25.3 KB)
nfoxad 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

Forum Jump


All times are GMT -4. The time now is 17:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode