Raised This Month: $ Target: $400
 0% 

Could someone pleaseeeeeeeeee tell me whats wrong with this?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Stealth Penguin
Junior Member
Join Date: Jan 2005
Old 02-17-2005 , 17:22   Could someone pleaseeeeeeeeee tell me whats wrong with this?
Reply With Quote #1

This is part of my plugin and the whole thing compiles fine with no errors but won't do anything when I use it in my menu in game... the menu part functions perfectly but I can't seem to get this set_user_godmode command to work correctly (and yes I have all the includes).
Please check it over for me? Any advice would be greatly appreciated.
Code:
public TGOMenuCommand(id,key) {     new player = g_menuPlayers[id][g_nTGOMenuPosition[id] * 7 + key]     switch (key)     {         case 8: ShowTGOMenu(id,++g_nTGOMenuPosition[id])         case 9: ShowTGOMenu(id,--g_nTGOMenuPosition[id])         default: set_user_godmode(player, 1 )     }     server_exec()     ShowTGOMenu(id,g_nTGOMenuPosition[id])     return PLUGIN_HANDLED }
Stealth Penguin is offline
Send a message via ICQ to Stealth Penguin Send a message via AIM to Stealth Penguin Send a message via Yahoo to Stealth Penguin
 



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 19:23.


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