What I did wrong?
My plugin doesn't work, I wanted to open a motd whanever someone type /vip or 30 seconds after someone joins the server.
PHP Code:
|
Re: What I did wrong?
Quote:
My guess is that the whole openmotd thing only works with https these days. |
Re: What I did wrong?
Alright I will look at it does it compile or.....?
|
Re: What I did wrong?
Figured it out already you never did anything with "infos" like defined it,etc.
|
Re: What I did wrong?
decl String: infos[ 128 ]
I defined but somehow when I copy pasted the code, that part of the code dissapear. Yes, it compiles, but it doesn't work... |
Re: What I did wrong?
native Format(String:buffer[], maxlength, const String:format[], any:...);
So im guessing you need to make it so It formats whatever string you are using eg: Format(String:PlayerAuth[], LengthOf(PlayerAuth), vip, etc,etc) Maybe? |
Re: What I did wrong?
Quote:
|
Re: What I did wrong?
Quote:
It was a part of the code that I didn't want to post here and now I think is confusing you. I edited my thread, I just wanted to know why whenever I write /vip on the server the motd doesn't appear and when I join, 30 seconds after It doesn't appear too. I'm new on sourcepawn btw but I already have some skills on amxx |
Re: What I did wrong?
Quote:
But like sourcemod is better in certain aspects but anyways. / and ! are predefined lol just use Action Command or whatever. It works 100% Like as long as the cmd is marked as "sm_vip" !vip And /vip will work :P |
Re: What I did wrong?
Quote:
How I hook that action command? |
All times are GMT -4. The time now is 09:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.