14.10.2011, 12:27
Porque isto nгo funciona?
eu chego na бrea e nгo acontece nada
Код:
#define MAX_GZS 1 new Float:checkGzs[MAX_GZS][4] = { {2079.9426,1539.2587, 2321.6956,1766.2577} }; forward checarareaGz(); public checarareaGz() { for(new i = 0; i < MAX_PLAYERS; ++i) { if(IsPlayerInArea(i, checkGzs[i][0],checkGzs[i][1],checkGzs[i][2],checkGzs[i][3])) { SendClientMessage(i,0x000000ff,"aaaaaaaaaaaaaaa"); } } return 1; } new gzteste; //OnGameModeInit() for(new i =0; i < MAX_GZS; ++i) { gzteste = GangZoneCreate(checkGzs[i][0],checkGzs[i][1],checkGzs[i][2],checkGzs[i][3]); } SetTimer("checarareaGz",1000,true); ...