Large per player strings
#7

Quote:
Originally Posted by Kyosaur
Посмотреть сообщение
I completely disagree. Why sacrifice speed for pvars if the variable isnt used by other scripts?


There's nothing wrong with creating that many strings if you have the memory. Though if you dont want to, you could just use ONE global string for each player. PAWN is single threaded, so there will never be a time when two players need the same string. You can simply format the single string with the information for said player before using it.
I use these strings globally, and access them randomly during commands and such- each string of mine stores other data of the player.
Reply


Messages In This Thread
Large per player strings - by Incubator - 15.07.2011, 23:13
Re: Large per player strings - by The.Sandman - 15.07.2011, 23:16
Re: Large per player strings - by Miguel - 15.07.2011, 23:21
Re: Large per player strings - by Kyosaur - 15.07.2011, 23:25
Re: Large per player strings - by Incubator - 15.07.2011, 23:25
Re: Large per player strings - by Ricop522 - 15.07.2011, 23:26
Re: Large per player strings - by Incubator - 15.07.2011, 23:28
Re: Large per player strings - by Incubator - 16.07.2011, 15:13
Re: Large per player strings - by wups - 16.07.2011, 16:28
Re: Large per player strings - by Macluawn - 17.07.2011, 00:09

Forum Jump:


Users browsing this thread: 2 Guest(s)