Read. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Read. (
/showthread.php?tid=485745)
Read. -
MaDsON - 05.01.2014
PHP код:
{
switch(PlayerInfo[playerid][pRank])
{
case 1: rank = "Officer";
case 2: rank = "Detective";
case 3: rank = "Sergeant";
case 4: rank = "Lieutenant";
case 5: rank = "Captain";
case 6: rank = "Chief";
default: rank = "Cadet";
}
I want all of those to be pulled from a .txt document. How can I do that?
I'll have a folder in scriptfiles named; 'facranks'
so the directory would be facranks/lspd
Re: Read. -
Joshua1 - 05.01.2014
Why not just put it inplace of your old ranks in your script? Or just put it in? It's less of a hassle that way.
Re: Read. -
MaDsON - 05.01.2014
I just want it done that way in a .txt document.