Quote:
Originally Posted by xXCallXX
usa asim vai fica de boa
pawn Код:
if (strcmp("/autos", cmdtext, true, 10) == 0) { { new count = GetTickCount(); print("[debug] Play"); new bool:vehicle[MAX_VEHICLES]; for(new j = 1; GetVehicleModel(j); ++j) { vehicle[j] = false; for(new i, p = GetMaxPlayers(); i < p; ++i) { if(!IsPlayerInAnyVehicle(i) || !IsPlayerConnected(i)) continue; if(IsPlayerInVehicle(i, j)) { vehicle[j] = true; break; } } if(!vehicle[j]) SetVehicleToRespawn(j); } printf("[debug] Time taken to execute respawn: %d", GetTickCount() - count); return 1; }
|
O que vocк mudou? Sу deixou em strcmp, eu uso zcmd amigo.