[AJUDA]portao automatico
#3

PHP код:
este й o command:
COMMAND:abrirportao(playeridparams[])
{   
    new 
name[24];
    
GetPlayerName(playeridnamesizeof(name));
    if(
strcmp("[TB]"nametrue) == 0)
    {
    if 
IsPlayerInRangeOfPoint(playerid202375.20, -2657.9512.692.0);    
    
MoveObject(gate12375.2000, -2657.950012.69002.0);    
    
SendClientMessage(playerid0xFF8000FF"O portгo esta agora aberto :D.");
    }    
    else if 
IsPlayerInRangeOfPoint(playerid202375.20, -2657.9512.692.0):    
    
MoveObject(gate22375.2000, -2657.950012.69002.0);    
    
SendClientMessage(playerid0xFF8000FF"O portгo esta agora aberto :D.");    
100 --> return 1;    

linha 75 = return 1;
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: 1 Guest(s)