23.05.2012, 16:32
pawn Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/open"))
{
MoveDynamicObject(gate[0], 1496.59997559,-699.75000000,86.80000305, 1);
MoveDynamicObject(gate[1], 1484.59997559,-699.75000000,86.80000305, 1);
return 1;
}
{
MoveDynamicObject(agate[0], 1496.59997559,-699.75000000,93.40000153, 1);
MoveDynamicObject(agate[1], 1484.59997559,-699.75000000,93.40000153, 1);
return 1;
}
return 0;
}