Jump to content

Recommended Posts

Posted

Salut, am incercat sa fac comanda /endlive sa opreasca live-ul si cand un jucator e online insa nu merge. Aveti vreo idee?

YCMD:endlive(playerid, params[], help)
{
    if(PlayerInfo[playerid][pMember] == 9)
    if(PlayerInfo[playerid][pAdmin] == 5)
    {
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(TalkingLive != 255)
            {
                SendClientMessage(i, COLOR_WHITE, "The live has been canceled.");
                TogglePlayerControllable(i, 1);
                TalkingLive = 255;
            }
        }
    }
    return 1;
}

Posted (edited)
Acum 41 minute, alexking a spus:

Salut, am incercat sa fac comanda /endlive sa opreasca live-ul si cand un jucator e online insa nu merge. Aveti vreo idee?

YCMD:endlive(playerid, params[], help)
{
    if(PlayerInfo[playerid][pMember] == 9)
    if(PlayerInfo[playerid][pAdmin] == 5)
    {
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(TalkingLive != 255)
            {
                SendClientMessage(i, COLOR_WHITE, "The live has been canceled.");
                TogglePlayerControllable(i, 1);
                TalkingLive = 255;
            }
        }
    }
    return 1;
}

YCMD:endlive(playerid, params[], help)
{
    if(PlayerInfo[playerid][pMember] != 9) return SendClientMessage(playerid, COLOR_WHITE, "You are not a member in faction News Reporter.");
    if(PlayerInfo[playerid][pAdmin] == 5)
    {
		if(TalkingLive != 255)
		{
			SendClientMessageToAll(COLOR_WHITE, "The live has been canceled.");
			TogglePlayerControllable(playerid, 1);
			TalkingLive = 255;
		}
    }
    return 1;
}

Verifica acum

Edited by StrikerM

Ce inseamna cuvantul "Unic" este atunci cand Chestia / Obiectul / Idea / etc... nu exista in alta parte.

Copii, nu mai veniti cu vorbe de "Am gamemode unic", nu exista asa ceva, la ora actuala totul este pe net.

Aveti grija pe cine ajutati, majoritatea sunt caini.

Posted
Acum 5 minute, alexking a spus:

Merge, multumesc!

Cu placere.

Ce inseamna cuvantul "Unic" este atunci cand Chestia / Obiectul / Idea / etc... nu exista in alta parte.

Copii, nu mai veniti cu vorbe de "Am gamemode unic", nu exista asa ceva, la ora actuala totul este pe net.

Aveti grija pe cine ajutati, majoritatea sunt caini.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.