Raised This Month: $ Target: $400
 0% 

Create file whit random num (1-100)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
BloodyNuker
Member
Join Date: Jan 2006
Old 05-22-2006 , 10:19   Create file whit random num (1-100)
Reply With Quote #1

Hello, i need create a file and the name must are a random number
(I found to put random number but i need espesificate in caseīs the result to create this number, and i must make 100 caseīs... Donīt exist other metod ?)
I put this... but donīt right
Code:
new numero = random_num(0, 100)
formatex( text, 255, "addons/amxmodx/123/%s.txt", numero);
write_file( text , numero , -1 );
Tnkz
BloodyNuker is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode