Ghost Dog 13
03-28-2009, 07:29 PM
Hey Guys....
I need your help....
I want to create 2 simple commands...
1 must be "/l text" and will apear as ("User" says: text)
(Commands "l" and "local")
And the other must be
Command= "/p text" and apear as (User: )
Commands "p" and "public")
I tried creating them by jacking the "me" command but no success lol...
Here's what I currently Use:
function Chat(PlayerID,Text)
outputChatBox( .. getPlayerName(PlayerID) .. " says: " .. Text,255,0,255,255)
end
addCommand("l","L",1)
But it wont apear in game :/
I need your help....
I want to create 2 simple commands...
1 must be "/l text" and will apear as ("User" says: text)
(Commands "l" and "local")
And the other must be
Command= "/p text" and apear as (User: )
Commands "p" and "public")
I tried creating them by jacking the "me" command but no success lol...
Here's what I currently Use:
function Chat(PlayerID,Text)
outputChatBox( .. getPlayerName(PlayerID) .. " says: " .. Text,255,0,255,255)
end
addCommand("l","L",1)
But it wont apear in game :/