Posts: 417
Threads: 104
Joined: Jul 2011
Reputation:
0
Okay first I need an example how to make a temporary ban option.. like /ban [id] [time] [reason] I can do that with sscanf but I need to know how i would do the time limit? and
How can I make it so a certain character isnt allowed ina command? Like a negative sign in /givemoney, thanks!
Will rep whoever helps.
Posts: 2,502
Threads: 26
Joined: Apr 2007
Reputation:
0
I highly doubt the name of the variable where the parameter data is stored is "value", that was simply an example, you're not supposed to literally copy and paste it.
Now I do quite frankly suggest you go back to basics and start with the PAWN manuals over at CompuPhase.
Posts: 417
Threads: 104
Joined: Jul 2011
Reputation:
0
My bad, I'm tired, and I know that value is the variable, and I changed it to "amount" and it still gave me an error, But I guess it's because I forgot playerid (tired) and I know about pawn, I know about sscanf, I know about variables, I have a full gangwar TDM script that I pretty much scripted myself (with help for more advanced stuff)
Thanks anyways, repped because you helped.