[Ajuda] /abrirhospital
#6

pawn Код:
if(!strcmp(cmdtext, "/abrirhospital", true)) // By Ellis
{
    if(PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pMember] == 3)
    {
        if(IsPlayerInRangeOfPoint(playerid, 5.0, 1544.700317,-1630.735717,13.096980))
        {
            DestroyObject( hospitalgate );
            hospitalgate1 = CreateObject(968,2276.48144531,-51.65429688,27.59509277,0.00000000,90.00000000,0.00000000);
            SetTimer("GateClose5", 6000, 0);
            SendClientMessage(playerid, COLOR_BLUE,"O portгo й aberto e serб encerrado em 6 segundos.");
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "* %s pega no seu remoto e abre o portгo.", sendername);
            ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
        }
    }
    return true;
}
@EDIT

esse cуdigo o lider/membro da org 1 2 3 poderб usar.

Vlw trans...
Reply


Messages In This Thread
[Ajuda] /abrirhospital - by [Dk]TuReTOo - 15.05.2011, 00:43
Re: [Ajuda] /abrirhospital - by The Knight - 15.05.2011, 00:51
Re: [Ajuda] /abrirhospital - by [Dk]TuReTOo - 15.05.2011, 00:54
Re: [Ajuda] /abrirhospital - by Transferencia - 15.05.2011, 00:54
Re: [Ajuda] /abrirhospital - by [Dk]TuReTOo - 15.05.2011, 00:58
Re: [Ajuda] /abrirhospital - by JonathanFeitosa - 15.05.2011, 01:06
Re: [Ajuda] /abrirhospital - by Shadoww5 - 15.05.2011, 01:10
Re: [Ajuda] /abrirhospital - by [Dk]TuReTOo - 15.05.2011, 01:11
Re: [Ajuda] /abrirhospital - by Transferencia - 15.05.2011, 01:12
Re: [Ajuda] /abrirhospital - by Shadoww5 - 15.05.2011, 01:14

Forum Jump:


Users browsing this thread: 2 Guest(s)