i have no idea how to save name in variable - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: i have no idea how to save name in variable (
/showthread.php?tid=456073)
i have no idea how to save name in variable -
omidi - 04.08.2013
hi can you help me with this
i want to know how i save player name in Variable like Poin1= Player Name
and then load it ,
and event player is disconnect but i want to load last point onwed name and show in this code ?
Код:
format(string, 64, "This Point Onwed Byt %s", Point1);
can u teach me in didi + dubb or ****** or other saveing system except mysql
Re: i have no idea how to save name in variable -
CutX - 04.08.2013
Код:
new name[MAX_PLAYER_NAME],s[25];
GetPlayerName(playerid,name,sizeof name);
format(s,sizeof s,"%s",name);
now the name is saved in the string "s"