Raised This Month: $ Target: $400
 0% 

Fix for this peace of code?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hip_hop_x
Senior Member
Join Date: Apr 2006
Old 05-18-2006 , 09:45   Fix for this peace of code?
Reply With Quote #1

Code:
public plugin_init() { register_clcmd("say /jucatori","cmd_anunt") } public cmd_anunt(id) {         new jucatori = get_playersnum()          set_hudmessage(200, 100, 40, -1.0, 0.15, 0, 1.0, 5.0, 0.1, 0.2, -1)     show_hudmessage(0, "In server sunt %s", jucatori) }
The problem is cause when i press /jucatori (in game) nothing happend.

Please fix my plugin.
hip_hop_x is offline
Send a message via MSN to hip_hop_x Send a message via Yahoo to hip_hop_x
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 05-18-2006 , 09:54  
Reply With Quote #2

Code:
 public plugin_init() {     register_plugin( "Jucatori", "1.0", "hip hop" )     register_clcmd("say /jucatori","cmd_anunt") } public cmd_anunt(id) {     new jucatori = get_playersnum()     set_hudmessage(200, 100, 40, -1.0, 0.15, 0, 1.0, 5.0, 0.1, 0.2, -1)     show_hudmessage(0, "In server sunt %d", jucatori)   }
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
hip_hop_x
Senior Member
Join Date: Apr 2006
Old 05-18-2006 , 10:00  
Reply With Quote #3

Thank you. I will try it.
hip_hop_x is offline
Send a message via MSN to hip_hop_x Send a message via Yahoo to hip_hop_x
Reply



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 16:31.


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