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
Threaded Mode
One string for all
Silvarray
Little Clucker
Posts: 32
Threads: 1
Joined: Sep 2012
Reputation:
0
#1
26.09.2012, 15:48
Could I have one string for all formatted client messages?
PAWN is single-threaded, right? Would there be any problems with this?
Find
Reply
'Pawno.
Big Clucker
Posts: 167
Threads: 26
Joined: Oct 2011
Reputation:
0
#2
26.09.2012, 16:04
No, there isn't any problem!
i also use 1 string for all big dialogs. ^^
Find
Reply
MarTaTa
Big Clucker
Posts: 86
Threads: 9
Joined: Mar 2012
Reputation:
0
#3
26.09.2012, 16:55
You can use global string
means just use "new string[128];" out of any callbacks, but it's not recommended, specialy for me I'm using local vars for everything, the global strings are buggy sometimes
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