17.08.2015, 12:50
Should this work?
PHP код:
forward Delay1(playerid);
public Delay1(playerid)
{
SendNearbyMessage(playerid, 30.0, COLOR_PURPLE, "MESSAGE 2", ReturnName(playerid, 0));
return 1;
}
forward Delay2(playerid);
public Delay2(playerid)
{
SendNearbyMessage(playerid, 30.0, COLOR_PURPLE, "MESSAGE 3", ReturnName(playerid, 0));
return 1;
}
PHP код:
SendNearbyMessage(playerid, 30.0, COLOR_PURPLE, "MESSAGE 1", ReturnName(playerid, 0));
SetTimerEx("Delay1", 10000, false, "i", playerid);
SetTimerEx("Delay2", 10000, false, "i", playerid);