AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP]All menus (https://forums.alliedmods.net/showthread.php?t=243406)

ZdubZ0r 07-04-2014 03:30

[HELP]All menus
 
3 Attachment(s)
I`ve got this error
Quote:

L 07/04/2014 - 13:17:06: [CSTRIKE] Invalid player 5
L 07/04/2014 - 13:17:06: [AMXX] Displaying debug trace (plugin "vip_candy_system.amxx")
L 07/04/2014 - 13:17:06: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 07/04/2014 - 13:17:06: [AMXX] [0] 66dpkcii.sma.p::cSetSkin (line 191)
I don`t have all the menus as it should be.. i have only glow menu , but even if the menus does not work i still have to download hats models , player models... can anyone help me to make it working ?!!
I just want to make all menu to work.. that`s it i don`t need a fixed version... please guyz hook me up with smth good PLEASE , btw i use it for deathrun and i needed smth that supports zombie plugins to add some zombie extra items , and also to have gold and silver member... but if you guys know smth better tell me please :)
here`s the .sma of it and .ini wich is in configs folder:)

Black Rose 07-04-2014 03:42

Re: [HELP]All menus
 
Ham_Spawn is not only called at player spawn.
Add is_user_alive() to check the player.

I'm not doing anything else, you posted in the wrong section.

ZdubZ0r 07-04-2014 03:45

Re: [HELP]All menus
 
team = is_user_alive(id)
if( team == CS_TEAM_CT )

At compilation i have tag mismatch at this... line 192 is the last one.. how should i change there :) ?!!

And the other menus still does not work like to choose player models, hat models.. i see only the glow menu :(

Flick3rR 07-04-2014 10:51

Re: [HELP]All menus
 
No, no.
[php]new Csteams:team = cs_get_user_team(id)

if(team == CS_TEAM_CT && is_user_alive(id)) {}


All times are GMT -4. The time now is 21:15.

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