Help with some string issue
#1

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?
Reply
#2

Код:
 new faction1[50] = None;
Reply
#3

aww lol didnt came in mind thx
Reply
#4

EDIT:Nvm
Reply
#5

How can i save the faction names in the script?
Reply
#6

What do you mean
Reply
#7

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.
Reply
#8

Quote:
Originally Posted by ThatFag
Посмотреть сообщение
Код:
 new faction1[50] = None;
Hmmmm?

pawn Код:
new faction1[] = "None";
(take in note the cells)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)