08.05.2018, 15:31
PHP код:
forward GetOuts1(playerid);
public GetOuts1(playerid)
{
//here code
}
forward GetOuts2(playerid);
public GetOuts2(playerid)
{
//here code
}
CMD:getouts(playerid, params[])
{
new chance=random(4);
if(chance==1)
{
//here code
SetTimerEx("GetOuts1", 2300, 0, "i", playerid);
}
else
{
//here code
SetTimerEx("GetOuts2", 2300, 0, "i", playerid);
}
return 1;
}