Quote:
Originally Posted by Alucard^
PHP Code:
%d = get_pcvar_num(pcvar)
-->
PHP Code:
%s = get_pcvar_string(pcvar, string[], len)
|
Fuck me, I don't have much experience with this. Example of a simple menu?
PHP Code:
public shop( id )
{
if( is_user_alive( id ) && cs_get_user_team( id ) == CS_TEAM_T )
{
new menu = menu_create( "Main Menu", "menu_handler" )
menu_additem( menu, "%d HP", "1", 0 )
There, started it for you if you're willing to give an example of using a string with it.
__________________