Posts: 600
Threads: 99
Joined: Apr 2008
Reputation:
0
Is there a way to call client commands in the scirpt? For example I have a command that uses over 10 lines. Now say when i type that command it changes the pagesize to 20 then after a certian amount of time it changes back to 10 again
I type
/level
pagesize changes to 20
timercounts
pagesize changes back to 10
I know there is SendRconCommand, But is there somthing like that for client commands?
Basacilly I just want the pagesize to set without having to type /pagesize
Posts: 6,129
Threads: 36
Joined: Jan 2009
No, client-side commands are client-side only. You cannot call them from the server.
Posts: 600
Threads: 99
Joined: Apr 2008
Reputation:
0
Thanks for the replies. It would be nice if you could tho
Posts: 6,129
Threads: 36
Joined: Jan 2009
Would you really like someone to be able to control your FPS limit or make you '/q' from the server at any time? That's quite a lot of room for abuse in those 2 client-side commands alone.
Posts: 600
Threads: 99
Joined: Apr 2008
Reputation:
0
Well woulnd't it only set it for the client that types the command and not everyone esle?
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by ihatetn931
Well woulnd't it only set it for the client that types the command and not everyone esle?
|
Yes, but did you read what I posted at all?
Posts: 600
Threads: 99
Joined: Apr 2008
Reputation:
0
Yes, but anything is abuseable
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by ihatetn931
Yes, but anything is abuseable
|
Not to the extent where someone could potentially crash your computer (at least in SA-MP).