02.02.2011, 12:05
hi all . i would like to know how can i make a /comand that we wan us every (5min) for example
is that posible to make somethink like that
public OnPlayerCommandText(playerid, cmdtext[])
public searchgun()
so can some one help me to corect that if ther is any error pls ?
is that posible to make somethink like that
Quote:
forward searchgun(); |
Quote:
if(strcmp(cmd, "/searchgun", true) == 0) { SetTimer("searchgun", 300000,false); } |
Quote:
public searchgun() { SendClientMessage(playerid,YELLOW,"you have found a gun / ammo"); GivePlayerWeapon(playerid,22,100); } } |