It uses everything in the player's chat or w.e after the number in ().
Example:
PHP Code:
function onActionServerSide() {
if (params[0] == ":ap") {
with(findplayer
}
}
//#CLIENTSIDE
function onPlayerChats() {
if (player.chat.starts(":ap") {
triggerserver("gui",this.name,":ap",player.account,player.chat.substring(6).trim);
}
}
Would set the player using the weapon's AP as the player's chat at/after the 6th letter of the players chat, and if there's a space there, going to the letter after it.
Atleast, I think so.