View Single Post
instinctpt1
Senior Member
Join Date: Dec 2016
Location: Chandigarh, India
Old 03-25-2018 , 04:01   Re: How To Store this values
Reply With Quote #8

Haha Fysiks he does makes sense, but looks like he is not good at explaining it xD

Here it is :
PHP Code:
#include <amxmodx>

new ran
new RandomWords[][] =  
{
    
"Instinct""Soumyadip""Lazy Relaxing""Fysiks"
}

public 
plugin_init()
{
    
register_plugin("Random Word""1.0""DiGiTaL");
    
register_clcmd("say /random""randomOut")
}
public 
randomOut(id)
{
    
ran random_num(0sizeof RandomWords -1)
    
client_print_color(id0"Here is your ^3Random Word ^1: ^4%s"RandomWords[ran])

instinctpt1 is offline