[AJUDA]portao automatico
#4

Код:
dcmd_abrirportao(playerid, params[])
{
    new name[24];
    GetPlayerName(playerid, name, sizeof(name));
    if(strcmp("[TB]", name, true) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid, 20, 2375.20, -2657.95, 12.69, 2.0))
    MoveObject(gate1, 2375.2000, -2657.9500, 12.6900, 2.0);
    SendClientMessage(playerid, 0xFF8000FF, "O portгo esta agora aberto :D.");
    }
    else
	if(IsPlayerInRangeOfPoint(playerid, 20, 2375.20, -2657.95, 12.69, 2.0))
    MoveObject(gate2, 2375.2000, -2657.9500, 12.6900, 2.0);
    SendClientMessage(playerid, 0xFF8000FF, "O portгo esta agora aberto :D.");
    return 1;
}
tenta isso!
Reply


Messages In This Thread
[AJUDA]portao automatico - by array13 - 02.09.2011, 09:30
Re: [AJUDA]portao automatico - by CJoao - 02.09.2011, 09:34
Re: [AJUDA]portao automatico - by array13 - 02.09.2011, 09:36
Re: [AJUDA]portao automatico - by CJoao - 02.09.2011, 09:38
Re: [AJUDA]portao automatico - by array13 - 02.09.2011, 09:39
Re: [AJUDA]portao automatico - by FireCat - 02.09.2011, 09:39
Re: [AJUDA]portao automatico - by array13 - 02.09.2011, 09:43
Re: [AJUDA]portao automatico - by FireCat - 02.09.2011, 09:45
Re: [AJUDA]portao automatico - by Pharrel - 02.09.2011, 09:48
Re: [AJUDA]portao automatico - by array13 - 02.09.2011, 09:50

Forum Jump:


Users browsing this thread: 3 Guest(s)