12.09.2011, 13:28
pawn Код:
if(strcmp(cmd, "/abrircancela", true) == 0)
{
if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
{
MoveDynamicObject(PDGate, -228.39999389648, 1007.299987793, 19.700000762939, 0.65);//Cancela aberta
}
return 1;
}
if(strcmp(cmd, "/fecharcancela", true) == 0)
{
if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
{
MoveDynamicObject(PDGate, -228.39999389648, 1007.299987793, 19.5, 0.65);//Cancela fechada
}
return 1;
}