Retrieving player`s pagesize - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Discussion (
https://sampforum.blast.hk/forumdisplay.php?fid=84)
+---- Thread: Retrieving player`s pagesize (
/showthread.php?tid=603721)
Retrieving player`s pagesize -
Macluawn - 26.03.2016
Is there a reliable way to get a player`s chat pagesize? (as set by
/pagesize command)
Back in 2012 there was
a suggestion by Pablo Borsellino, but I suppose nothing came of it.
Doesn`t have to be a built in function, any kind of trick would do as long as the player doesn`t have to install anything extra.
I thought about listening to the
/pagesize command, but it wouldnt catch new player (upon joining the game) pagesize data.
Re: Retrieving player`s pagesize -
iKevin - 26.03.2016
Would be dope, we could use it in our server.
Re: Retrieving player`s pagesize -
Abagail - 26.03.2016
Quote:
Originally Posted by Macluawn
Is there a reliable way to get a player`s chat pagesize? (as set by /pagesize command)
Back in 2012 there was a suggestion by Pablo Borsellino, but I suppose nothing came of it.
Doesn`t have to be a built in function, any kind of trick would do as long as the player doesn`t have to install anything extra.
I thought about listening to the /pagesize command, but it wouldnt catch new player (upon joining the game) pagesize data.
|
SA-MP doesn't offer such abilites for nearly any client type of functions. You can't listen to /pagesize because client commands don't register into the SA-MP CommandText callback.
The client would
need to install something to be able to get such data.
Re: Retrieving player`s pagesize -
MartinSwag - 27.03.2016
Quote:
Originally Posted by Abagail
SA-MP doesn't offer such abilites for nearly any client type of functions. You can't listen to /pagesize because client commands don't register into the SA-MP CommandText callback.
The client would need to install something to be able to get such data.
|
Yeah, you'd have to write a program which locates and opens sa-mp.cfg, reads it's contents and writes the values to a database. Writing a program which does this won't be a problem, but I don't think many players would use the tool. Perhaps we'll get an option to retrieve these values by using functions in the future!