String help
#1

Hey guys,
so im doing a little system here and i got a situation going on: got some values that i want some strings to be changed into them but they arent getting changed at all. The code is here:
PHP код:
rasp1[id] = random(10);
                        
rasp2[id] = random(10);
                        
rasp3[id] = random(10);
                        
rasp4[id] = random(10);
                        
rasp5[id] = random(10);
                        
rasp6[id] = random(10);
                        
rasp7[id] = random(10);
                        
rasp8[id] = random(10);
                        
rasp9[id] = random(10);
                        
TextDrawSetString(raspa12"test");
                        
TextDrawSetString(raspa13rasp2[id]);
                        
TextDrawSetString(raspa14rasp3[id]);
                        
TextDrawSetString(raspa15rasp4[id]);
                        
TextDrawSetString(raspa16rasp5[id]);
                        
TextDrawSetString(raspa17rasp6[id]);
                        
TextDrawSetString(raspa18rasp7[id]);
                        
TextDrawSetString(raspa19rasp8[id]);
                        
TextDrawSetString(raspa20rasp9[id]); 
the strings arent being set. The first one with the "test" works that was just to see if it was changing into anything and it can change BUT it just wont change the others to those values stored. I know i could put random(10) in the TextDrawSetString, however i need the value that will appear on the string later so i needed to store it somewhere. Can anyone help me?
Reply


Messages In This Thread
String help - by GunZsmd - 05.05.2016, 22:23
Re: String help - by Kimble - 05.05.2016, 22:28
Re: String help - by KevinReinke - 05.05.2016, 22:40

Forum Jump:


Users browsing this thread: 1 Guest(s)