[Ajuda] /abrirhospital
#7

Esses erros sгo geralmente causados pela falta de alguma chave. Tenta isso:

PHP код:
if(strcmp(cmdtext"/abrirhospital"true)) // By Ellis
{
    if(
PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == || PlayerInfo[playerid][pMember] == || PlayerInfo[playerid][pMember] == 3)
    {
        if (
PlayerToPoint(15playerid,1544.700317,-1630.735717,13.096980))
        {
            
DestroyObjecthospitalgate );
            
hospitalgate1 CreateObject(968,2276.48144531,-51.65429688,27.59509277,0.00000000,90.00000000,0.00000000);
            
SetTimer("GateClose5"60000);
            
SendClientMessage(playeridCOLOR_BLUE,"O portгo й aberto e serб encerrado em 6 segundos.");
            
GetPlayerName(playeridsendernamesizeof(sendername));
            
format(stringsizeof(string), "* %s pega no seu remoto e abre o portгo."sendername);
            
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            }
        return 
1;
    }
    return 
1;

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: 1 Guest(s)