• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Can someone tell me if it's possible?

Onizuka

Member
Joined
Jul 5, 2008
Messages
2,291
Reaction score
14
To make a table of items by talkactions on 8.0 Evo?

Like i say !help, it shows me a list of other commands that players can use? something like this

Here are the items you can buy by using the commands below.
___!uh
___!sd
___!backpack
___Etc...
___Etc...
___Etc..

Thanks!

//Anco
 
Something like this?
PHP:
function onSay(cid, words, param, channel)
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Here are the items you can buy by using the commands below.")
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "!uh")
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "!sd")
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "!backpack")
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Etc...")
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Etc...")
	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Etc..")
	return TRUE
end
This will show the commands in blue on the console

or you can make a popup with the information like in
PHP:
function onSay(cid, words, param, channel)
doPlayerPopupFYI(cid, "Here are the items you can buy by using the commands below.\n!uh\n!sd\n!backpack\nEtc...\nEtc...\nEtc..")
	return TRUE
end
The only difference is that you need to use "\n" to move to the next line :p

Hope this works. Not tested :p
 
Back
Top