Various problems
I've decided to make one thread about the problems I have, instead of 10
So any future problems I have will go here :) So, I want to get all the arguments after a certain one.. like the command is "say hello and die" I want to be able to get "hello and die" from that - but the trick is it has to work for "say hello and how are you", and get "hello and how are you" Any Suggestions? The other problem is - I dont know why this doesnt work: Code:
And is this the correct way to switch about the cvar? Code:
|
i can post from old amx ones
1. i use this one Code:
say "anythign here utill enter pressed" and in the plugin i get that argument and the check if it contains /playtime or /playtimetop if playtimetop -run fuction with different parameters if playtime and after that there are not text then run funtion with player name partameter (as a query) otherwise run funtion ith the rest of the string complete source at http://info.wsisiz.edu.pl/~sochon/do...l_playtime.sma 2. the admin.sma will help you for sure, there are the best examples of finding the players 3. better new num = get_cvar_num(...) then round it and finally use switch here i suggest adminmenu.sma addon |
All times are GMT -4. The time now is 16:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.