Posts: 574
Threads: 87
Joined: Aug 2009
Reputation:
0
How do i make a /suggest command?
i want it in the strcmp format and i would like it to be something like this
/suggest [suggestion]
and it will save into a text doc in scriptfiles, then, i want a command such as /suggestions that will show what people have suggested.
How would i do this?
Posts: 466
Threads: 72
Joined: Jan 2010
Reputation:
0
Omg, i was going to post the exact same thing today.
Plus, It should display the user name, and IP so if people abuse it, they could get a warning/banned
Posts: 607
Threads: 41
Joined: Apr 2009
Quote:
Originally Posted by XxCozzaxX
Thanks, just 4 errors:
Код:
C:\Users\Corran\Desktop\Samp Server Latest\gamemodes\CJfreeroam.pwn(1924) : error 017: undefined symbol "sendername"
C:\Users\Corran\Desktop\Samp Server Latest\gamemodes\CJfreeroam.pwn(1924) : error 017: undefined symbol "sendername"
C:\Users\Corran\Desktop\Samp Server Latest\gamemodes\CJfreeroam.pwn(1924) : error 029: invalid expression, assumed zero
C:\Users\Corran\Desktop\Samp Server Latest\gamemodes\CJfreeroam.pwn(1924) : fatal error 107: too many error messages on one line
|
Just add this : new sendername[MAX_PLAYER_NAME];
Posts: 301
Threads: 54
Joined: Jul 2009
Reputation:
0
Yeah, because it's very simple, try putting: Your suggestion: any sugg., your IP: the ip, your name: the name.. I will make it later..
Posts: 574
Threads: 87
Joined: Aug 2009
Reputation:
0
How? Can u quickly make it?