Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive
Threaded Mode
Little help
jonybomb
Big Clucker
Posts: 164
Threads: 30
Joined: May 2008
Reputation:
0
#1
01.03.2009, 17:31
Hi guys
How to put the id of players in the chat?
for example: jonybomb[0]: (message)
Thanks
Find
Reply
Dark_BasS
Big Clucker
Posts: 64
Threads: 2
Joined: Jan 2009
Reputation:
0
#2
01.03.2009, 17:41
Here it is:
public OnPlayerText(playerid,text[])
Under
new textstring[128];
format(textstring, sizeof(textstring), "[%i] %s", playerid, text);
SendPlayerMessageToAll(playerid, textstring);
return 0;
}
this is it
Find
Reply
jonybomb
Big Clucker
Posts: 164
Threads: 30
Joined: May 2008
Reputation:
0
#3
01.03.2009, 17:58
Works, thanks
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive