Confused.....
1 Attachment(s)
Okay i cant figure out why its giving me the errors below...
ok this plugin allows you to pickpockets someone...... Code:
|
Too lazy to really look, but for the first one..
Code:
} register_cvar( "pp_pickamount", "1000" ) |
zomg....
but thnx ... what about the array :/ |
I'm not too familiar with putting arrays on shit, I think you'd add like an [id] or [something] Anyways, I'd just use
for (i = 1; i < 33; i++) instead of getting maxplayers. |
but then it would simply execute the code 32 times..no matter how many players are there....
|
Quote:
What errors are you getting? You mentioned that you were getting them but I don't see where you indicate what they are. |
look at teh errors.gif :/
it keeps saying array must be indexed... |
Code:
IDK, just a try. |
Errors:
An index is [x] so I put [5] for the len I guess. players_num shouldn't have an index. You mispelled pockter_origin You used get_user_money/set_user_money, that's a amxmod.inc native (Conversion) cs_get_user_money/cs_set_user_money amount_new?? That's not a variable I think you wanted amount_pp |
ok thnx..i see...
amount_new is that one if statement...where the amount to take is greater than the users money... i will fix everything up..i will post back with update... |
| All times are GMT -4. The time now is 14:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.