AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   What is (33) or [32] ?? (https://forums.alliedmods.net/showthread.php?t=117548)

qpalzm12343 02-02-2010 06:43

What is (33) or [32] ??
 
oh this so basic but i'm noob at amxx scripting,
but please teach me... :cry:

i making simple show player's health//
PHP Code:

/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Plugin name"
#define VERSION "1.0"
#define AUTHOR "[KR]Tora"
new g_text
public plugin_init() {
 
register_plugin(PLUGINVERSIONAUTHOR)
 
 
g_text get_user_health(32)
}
public 
show_health(id) {
 
client_print(idprint_center"Your health: %d"g_text)


oh n. please help me! what is get_user_health(32)

capostrike93 02-02-2010 06:50

Re: What is (33) or [32] ??
 
PHP Code:

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Plugin name"
#define VERSION "1.0"
#define AUTHOR "[KR]Tora"

public plugin_init() {
   
register_plugin(PLUGINVERSIONAUTHOR)
}
 
public 
show_health(id) {
   
client_print(idprint_center"Your health: %d"get_user_health(id))



SnoW 02-02-2010 07:26

Re: What is (33) or [32] ??
 
http://wiki.amxmodx.org/Category:Scripting_(AMX_Mod_X)

Spunky 02-02-2010 08:06

Re: What is (33) or [32] ??
 
http://www.amxmodx.org/funcwiki.php?go=func&id=2


All times are GMT -4. The time now is 07:18.

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