SA-MP Forums Archive
Small Help Guys - 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: Small Help Guys (/showthread.php?tid=631032)



Small Help Guys - ommar8080 - 21.03.2017

Hi ^_^
i want know how to make 6 random for my textdraw
Fake: And True:
PHP код:
    Fake TextDrawCreate(509.000000338.000000"Fake: 1");
    
TextDrawBackgroundColor(Fake255);
    
TextDrawFont(Fake1);
    
TextDrawLetterSize(Fake0.2100001.100000);
    
TextDrawColor(Fake, -1);
    
TextDrawSetOutline(Fake1);
    
TextDrawSetProportional(Fake1);
    
TextDrawSetSelectable(Fake0);
    
True TextDrawCreate(509.000000348.000000"True: 1");
    
TextDrawBackgroundColor(True255);
    
TextDrawFont(True1);
    
TextDrawLetterSize(True0.2100001.100000);
    
TextDrawColor(True, -16776961);
    
TextDrawSetOutline(True1);
    
TextDrawSetProportional(True1);
    
TextDrawSetSelectable(True0); 
random from 6 for Fake And True
Every Take My pickups write random +1 in True Or Fake
like i take 1pickup = random fake or random true
i have 6pickups