[AJUDA] Portгo
#1

pawn Код:
//PORTAO
new AAbrir1;
new AAbrir2;
pawn Код:
AAbrir1 = CreateDynamicObject(971,431.29003906,2507.16992188,18.80429268,0.00000000,0.00000000,90.00000000); //object(subwaygate) (1) portao 1
AAbrir2 = CreateDynamicObject(971,374.86230469,2503.56152344,19.05429268,0.00000000,0.00000000,90.00000000); //object(subwaygate) (2) portao 2
pawn Код:
if(strcmp(cmdtext,"/aabrir1",true)==0)//portao aberto
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"Vocк nгo й Administrador!");
MoveObject(AAbrir1, 431.29003906,2507.16992188,24.55429268, 12);
return 1;
}
if(strcmp(cmdtext,"/aafechar1",true)==0)//portao fechado
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"Vocк nгo й Administrador!");
MoveObject(AAbrir1, 431.29003906,2507.16992188,18.80429268, 12);
return 1;
}
if(strcmp(cmdtext,"/aabrir2",true)==0)//portao aberto
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"Vocк nгo й Administrador!");
MoveObject(AAbrir2, 374.86230469,2503.56152344,24.05429268, 12);
return 1;
}
if(strcmp(cmdtext,"/aafechar2",true)==0)//portao fechado
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"Vocк nгo й Administrador!");
MoveObject(AAbrir2, 374.86230469,2503.56152344,19.05429268, 12);
return 1;
}
Quando eu vou no portгo ele nгo abre de jeito nenhum... O que eu faзo?
Reply


Messages In This Thread
[AJUDA] Portгo - by [AF]Junior - 20.02.2011, 04:24
Re: [AJUDA] Portгo - by lmsfull - 20.02.2011, 04:36
Re: [AJUDA] Portгo - by ViniBorn - 20.02.2011, 13:31
Re: [AJUDA] Portгo - by egonzks - 20.02.2011, 16:41
Re: [AJUDA] Portгo - by [AF]Junior - 20.02.2011, 16:50
Re: [AJUDA] Portгo - by egonzks - 20.02.2011, 17:39
Re: [AJUDA] Portгo - by [AF]Junior - 20.02.2011, 17:49

Forum Jump:


Users browsing this thread: 1 Guest(s)