SetTimerEx( \"Drogos\", 60000, true, \"i\", playerid );forward Drogos(id);public Drogos(id){SetPlayerWeather(id, -66);SetPlayerTime(id, 9,9);SetPlayerDrunkLevel(id, 50000);SetPlayerPos(id, 0, 0, 5);SendClientMessage(id, PIROS, \"Fut a Timer!\");}
SetTimerEx( \"Drogos\", 60000, true, \"i\", playerid );forward Drogos(playerid);public Drogos(playerid){ SetPlayerWeather(id, -66); SetPlayerTime(id, 9,9); SetPlayerDrunkLevel(id, 50000); SetPlayerPos(id, 0, 0, 5); SendClientMessage(id, PIROS, \"Fut a Timer!\");}
SetTimerEx( \"Drogos\", 60000, true, \"i\", playerid );forward Drogos(playerid);public Drogos(playerid){ SetPlayerWeather(id, -66); SetPlayerTime(id, 9,9); SetPlayerDrunkLevel(id, 50000); SetPlayerPos(id, 0, 0, 5); SendClientMessage(id, PIROS, \"Fut a Timer!\");} Tudom ,hogy próbáltad, de így lesz jó.
SetTimerEx( \"Drogos\", 60000, true, \"i\", playerid ); forward Drogos(playerid); public Drogos(playerid) { SetPlayerWeather(playerid, -66); SetPlayerTime(playerid, 9,9); SetPlayerDrunkLevel(playerid, 50000); SetPlayerPos(playerid, 0, 0, 5); SendClientMessage(playerid, PIROS, \"Fut a Timer!\"); }
SetTimerEx( \"Drogos\", 60000, true, \"i\", playerid );forward Drogos(playerid);public Drogos(playerid){ SetPlayerWeather(id, -66); SetPlayerTime(id, 9,9); SetPlayerDrunkLevel(id, 50000); SetPlayerPos(id, 0, 0, 5); SendClientMessage(id, PIROS, \"Fut a Timer!\");} Tudom ,hogy próbáltad, de így lesz jó. nem ert akkor már ezeket is írd át: SetPlayerPos(id, 0, 0, 5);vagyis: SetTimerEx( \"Drogos\", 60000, true, \"i\", playerid ); forward Drogos(playerid); public Drogos(playerid) { SetPlayerWeather(playerid, -66); SetPlayerTime(playerid, 9,9); SetPlayerDrunkLevel(playerid, 50000); SetPlayerPos(playerid, 0, 0, 5); SendClientMessage(playerid, PIROS, \"Fut a Timer!\"); } [/quote]Igaz! Bocs azt nem figyeltem
public Drogos(){for(new i = 0; i < MAX_PLAYERS; i++){if(IsPlayerConnected(i)){ SetPlayerWeather(i, -66); SetPlayerTime(i, 9,9); SetPlayerDrunkLevel(i, 50000); SetPlayerPos(i, 0, 0, 5); SendClientMessage(i, PIROS, \"Fut a Timer!\")}}}