AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   help to amke a command in-game (https://forums.alliedmods.net/showthread.php?t=83714)

tor0en 01-14-2009 02:47

help to amke a command in-game
 
hey, i have added this to my addon:
Code:

    register_clcmd( "rs_addxp_def","AddDefXp")
and in
Code:

public AddDefXp()
i want to add def xp to the player i want, and the command in the console is going to be like this:

rs_addxp_def "playername" "xp" but how do i do this?

anakin_cstrike 01-14-2009 06:56

Re: help to amke a command in-game
 
http://wiki.amxmodx.org/Intro_to_AMX_Mod_X_Scripting


All times are GMT -4. The time now is 01:51.

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