27.04.2010, 15:49
but how to i add like second case?
how to add?
and i dont want to move both doors at the same time when player is in rangeofpoint
Код:
if(!strcmp("/stadium",cmdtext)) { if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438)) { MoveObject( example i move door 1 in somewhere } if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438)) { MoveObject( example i move door 2 in somewhere return 1; }
and i dont want to move both doors at the same time when player is in rangeofpoint