task randomcolor[75 * 1000]() { new playerid = Iter_Random(Player); if(Dead[playerid] == false) { SetPlayerColor(playerid, 0xF40024); GameTextForPlayer(playerid, "~r~You're on the map~w~!", 5000, 3); } else randomcolor(); return 1; }
SetTimerEx("color", 10000, false, "i", playerid);
forward color(playerid);
public color(playerid)
{
SetPlayerColor(playerid, 0xFF0000);
return 1;
}
PHP код:
PHP код:
|
task randomcolor[75 * 1000]() { new playerid = Iter_Random(Player); if(Dead[playerid] == false) { SetPlayerColor(playerid, 0xF40024); GameTextForPlayer(playerid, "~r~You're on the map~w~!", 5000, 3); } else randomcolor(); return 1; }
task randomcolor[75 * 1000]() { new playerid = Iter_Random(Player); if(Dead[playerid] == false) { SetPlayerColor(playerid, 0xF40024); GameTextForPlayer(playerid, "~r~You're on the map~w~!", 5000, 3); SetTimerEx("color", 10000, false, "i", playerid); } else randomcolor(); return 1; }