- 1
- 0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Does it possible to make checker for spectate i have script that server uses for this spectate command can someone help me and tell me if its possible to make that cleo script ..
Код:
CMD: sprecon (playerid, params [])
{
new id; new spec_String [150];
if (gPlayerLogged [playerid] == 0) return SCM (playerid, -1, "{CA0000} [CL: MK]: {FFFFFF} You need to be loged in!");
{
if (gPlayerLogged [playerid] == 0) return SCM (playerid, -1, "{CA0000} [CL: RPG]: {FFFFFF} You are not logged in!");
if (sscanf (params, "u", id)) return SCM (playerid, -1, "{CA0000} [CL: RPG]: {FFFFFF} (/ recon) Nick_Name / [ID]");
if (PlayerInfo [playerid] [pAdmin] <10 && PlayerInfo [id] [pAdmin]> = 10) return SendClientMessage (playerid, -1, "{D60000} ERROR: {FFFFFF} You cant spectate OWNER!");
if (PlayerInfo [playerid] [pAdmin] <10 && PlayerInfo [id] [pAdmin] == 5) return SendClientMessage (playerid, -1, "{D60000} ERROR: {FFFFFF} You cant spectate ADMIN Manager!");
// if (PlayerInfo [playerid] [pGameMaster]> 1 && PlayerInfo [id] [pAdmin]> 5) return SCM (playerid, -1, "{CA0000} [NC: RPG]: {FFFFFF} Ne mozes toa da go napravis! ");
// if (PlayerInfo [id] [pAdmin]> PlayerInfo [playerid] [pAdmin]) return SCM (playerid, -1, "{CA0000} [NC: RPG]: {FFFFFF} You cant do that!") ;
KillTimer (SMTimer [playerid]);
specid [playerid] = id; LolSpec [playerid] = 1;
format (spec_String, sizeof (spec_String), "~ r ~% s", GetName (specid [playerid]));
PlayerTextDrawSetString (playerid, Spec1 [playerid], spec_String);
PlayerTextDrawSetString (playerid, Spec2 [playerid], "~ w ~ Turning on, spectating wait ...");
SMTimer [playerid] = SetTimerEx ("SpecMode", 2000, true, "i", playerid);
PlayerTextDrawShow (playerid, Spec1 [playerid]); PlayerTextDrawShow (playerid, Spec2 [playerid]);
}
return true;
Последнее редактирование модератором: