ok, i fixed it.
Can i ask another question to?
How can i use something that return a random number, and do something when the number equals a other number.
I tryed this but i don't think it works
PHP Code:
if(playerlevel[id] == 1)
{
if(random_num(1,20) == 5)
give_item(id, "weapon_hegrenade")
}
else
{
client_print(id, print_chat, "%s Sorry, no luck today", PREFIX)
}
__________________