Help with some string issue - 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: Help with some string issue (
/showthread.php?tid=619652)
Help with some string issue -
StrikerZ - 20.10.2016
Aight so im working on a faction system. See i use global variables for the names of faction as new faction1[50]; and so on. On /createfaction the name will be given to the variable like faction1. And when i perform /factions the variable which hold no name will appear blank right? so is there any way to make those blank spaces replaced with NONE?
Re: Help with some string issue -
ThatFag - 20.10.2016
Код:
new faction1[50] = None;
Re: Help with some string issue -
StrikerZ - 20.10.2016
aww lol didnt came in mind thx
Re: Help with some string issue -
StrikerZ - 20.10.2016
EDIT:Nvm
Re: Help with some string issue -
StrikerZ - 20.10.2016
How can i save the faction names in the script?
Re: Help with some string issue -
ThatFag - 20.10.2016
What do you mean
Re: Help with some string issue -
RockyGamer - 20.10.2016
There are several ways you can store data (dini, y_ini, txt etc.). You can search for tutorials about them or ask us if you don't understand them.
Re: Help with some string issue -
SickAttack - 20.10.2016
Quote:
Originally Posted by ThatFag
Код:
new faction1[50] = None;
|
Hmmmm?
(take in note the cells)