some newbie questions :o
hi,
i want to write a little, useless plugin, that allows to spend each other 1$. as i don't have written any other plugins before i tryed to put some code together and to get it running. :roll: now i have some questions: - how can i put a counter in there, to check how often someone spends money - how can i change the concmd so that there must be at least 2 arguments instead of 3 Code:
#include <amxmodx> |
Code:
The 3 there is how many arguments AMXX wants you to have before it lets you use the command, so change it to '2' and people will be able to have 2 arguments provided the rest of your plugin reads the second argument. So use this: Code:
|
ah, okay.. thaaanks! :)
|
new day - new plugins - news question *g* :roll:
how can i choose a randoom player? i tryed to make a small plugin to test an idea.. but it doesent realy works :cry: Code:
new rnd = 0; |
| All times are GMT -4. The time now is 14:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.