[AJUDA]Comando
#4

pawn Код:
new ladoA[MAX_PLAYERS];
new ladoB[MAX_PLAYERS];

if(strcmp("/irevento", cmdtext, true, 10) == 0)
{
    new aname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
    format(file, sizeof(file), PASTA_CONTAS, aname);
    if(EventoCriado != 1) return SendClientMessage(playerid, 0x008000AA, "Nгo tem evento criado manolo!");
    if(ladoA[playerid] == 5) return 1;
    if(ladoA[playerid] < 5)
    {
        SetPlayerPos(playerid, -3745.82006836,465.29635620,27.87695312);
        ladoA[playerid]++;
        noevento[playerid] = 1;
        return 1;
    }
    if(ladoB[playerid] == 5) return 1;
    if(ladoB[playerid] < 5)
    {
        SetPlayerPos(playerid, -3657.08520508,431.72711182,32.85673141); // pos da equipe B
    ladoB[playerid]++;
        return 1;
    }
    if(ladoA[playerid] == 5 || ladoB[playerid] == 5) return SendClientMessage(playerid, 0x008000AA, "Tudo full manolo!");
    return 1;
}
BBCode do [PAWN*] [/PAWN] do fуrum ta bugged e.e
Reply


Messages In This Thread
[AJUDA]Comando - by lincon c - 16.08.2011, 01:00
Re: [AJUDA]Comando - by Macintosh - 16.08.2011, 01:21
Re: [AJUDA]Comando - by lincon c - 16.08.2011, 01:28
Re: [AJUDA]Comando - by Macintosh - 16.08.2011, 01:44
Re: [AJUDA]Comando - by lincon c - 16.08.2011, 01:46
Re: [AJUDA]Comando - by Macintosh - 16.08.2011, 01:59
Re: [AJUDA]Comando - by lincon c - 17.08.2011, 00:33
Re: [AJUDA]Comando - by Macintosh - 17.08.2011, 01:10

Forum Jump:


Users browsing this thread: 1 Guest(s)