Retrieving player`s pagesize
#1

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.
Reply
#2

Would be dope, we could use it in our server.
Reply
#3

Quote:
Originally Posted by Macluawn
View Post
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.
Reply
#4

Quote:
Originally Posted by Abagail
View Post
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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)