Hello all. Help me with making random message please.
I have kode but it not work
PHP Code:
public sayRand(id){
new randFile = fopen("/addons/amxmodx/configs/random.ini","r")
new bufer[256]
while(!feof(randFile)){
fgets(randFile, bufer, 255)
new randomMessage
randomMessage = random_num(0,100)
client_print(id,print_chat,"%s", bufer[randomMessage])
}
}
__________________