13.11.2012, 22:49
Hi there, I have some questions about strings and variables.
I would like to create a script as optimized as possible but I'm new on pawn and I have this questions:
Should I use global string or local string? I'm making a roleplay server.
For commands like /me should I use global or local?
I would like to make a note system, this note system will take from my datebase several datas, and I wish to show in a dialog or textdraw but for that I will need several strings.
Sometimes I think is better use local string but why should I use a string in OnPlayerConnec just to tell the administrators that someone logged in? why should I use a string juts to commands like /me, /do while I can use a global string?
There's some difference?
I'm wainting some answer, thank you.
I would like to create a script as optimized as possible but I'm new on pawn and I have this questions:
Should I use global string or local string? I'm making a roleplay server.
For commands like /me should I use global or local?
I would like to make a note system, this note system will take from my datebase several datas, and I wish to show in a dialog or textdraw but for that I will need several strings.
Sometimes I think is better use local string but why should I use a string in OnPlayerConnec just to tell the administrators that someone logged in? why should I use a string juts to commands like /me, /do while I can use a global string?
There's some difference?
I'm wainting some answer, thank you.