Create file whit random num (1-100)
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) |
You should use the new file natives, and also are you sure there's a directory "123" ?
Code:
|
Oks, tnkz, and i have got other cuestion if you can help plz.
(I need kick a player, but if the player write in console "amx_123 Hello", the plugin donīt kick the player) When a player enter in the server the plugin ... Code:
register_clcmd("amx_123", "cmdChat")Code:
public cmdChat(id,level,cid) 20 seconds later, when player entered in game the plugin show if the file exist....(because if the file exist, is because the player put amx_123 Hello) Code:
public client_verificacion3(id) no? :? Tnkz and sorry if this a stupid question :D |
Umm... thats a really bad method. Try this:
Code:
|
jajajja itīs very funny :P
Tnkz! work perfect :D ++ :!: |
| All times are GMT -4. The time now is 16:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.