Plugin Error [NEW PROBLEM]
NEW PROBLEM
-Read Post Below my second post- |
Re: Arguements > Definition
cs_get_user_money(id, playercash - maincost)
I assume you meant to write "set". |
Re: Arguements > Definition
Ahh, common typo error.
Thank you Black Rose, help appriciated. |
Re: Plugin Error
Hm, it compiles fine and everything but when I open the menu up and attempt to select a Shoe it doesn't do anything; the hudmessage doesn't appear, the health / gravity / speed doesn't change but the menu destroys. Any idea why?
PHP Code:
|
Re: Plugin Error [NEW PROBLEM]
Code:
Code:
Anyway that's probably the error. Change it ( on all hudmsgs ) to %s and try again. Come back if it doesn't work. |
Re: Plugin Error [NEW PROBLEM]
Code:
Better looking, more effective --> Code:
|
Re: Plugin Error [NEW PROBLEM]
Alright, I fixed that stuff and it still doesn't work.
Could it be because i'm using a cs_set_user_money function and i'm running Condition-Zero? I know some CS plugins run with CZ though. Anyway, heres the latest code(Tested and Failed) PHP Code:
|
Re: Plugin Error [NEW PROBLEM]
Add "return PLUGIN_CONTINUE" at the end of selectshoes() func.
Debug the money function just by adding a msg right after getting money, saying how much money you've got. Put some server_print("1"), server_print("2") et.c to see where it fails. Is there any error in the log? |
| All times are GMT -4. The time now is 16:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.