#include <a_samp>new Text:Textdraw0;new Text:Textdraw1;#define COLOR_RED 0xAA3333AA#define COLOR_GREY 0xAFAFAFAA#define COLOR_GREEN 0x33AA33AA#define COLOR_RED 0xAA3333AA#define COLOR_YELLOW 0xFFFF00AA#define COLOR_WHITE 0xFFFFFFAA#define COLOR_SPAWN 0xFF8C55FF#define COLOR_LIGHTBLUE 0x6DC5F3FF#define COLOR_ADMIN 0xFF0000FF#define COLOR_SAY 0x2986CEFF#define COLOR_SYSGREY 0xC6BEBDFF#define COLOR_BLACK 0x000000FF#define COLOR_JOIN 0x74E80099#define COLOR_WARN 0xBE615099#define COLOR_RACE 0x00BBBB99#define COLOR_KRED 0xFF0000FF#define COLOR_TELENARANCS 0xff664cff#define COLOR_SZABÁLY 0xca88ffff#define COLOR_ME4 0xffffc8ff#define COLOR_KILL 0xe62740ff#define COLOR_TELESÁRGA 0xd8ff00ff#define COLOR_ÉLETFIX 0x00b46dff#define COLOR_POZÍCIÓ 0xffffb1ff#define COLOR_TURQ 0x00A3C0AA#define COLOR_BLUE 0x0000FFAA#define COLOR_GREY 0xAFAFAFAA#define COLOR_GREEN 0x33AA33AA#define COLOR_RED 0xAA3333AA#define COLOR_YELLOW 0xFFFF00AA#define COLOR_WHITE 0xFFFFFFAA#define COLOR_PURPLE 0x9900FFAA#define COLOR_BROWN 0x993300AA#define COLOR_ORANGE 0xFF9933AA#define COLOR_CYAN 0x99FFFFAA#define COLOR_TAN 0xFFFFCCAA#define COLOR_PINK 0xFF66FFAA#define COLOR_KHAKI 0x999900AA#define COLOR_LIME 0x99FF00AA#define COLOR_TURQ 0x00A3C0AA#define COLOR_GREEN 0x33AA33AA#define COLOR_RED 0xAA3333AA#if defined FILTERSCRIPTpublic OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\"-------- DRIFT Infinity v2 ---------\");print(\"--------------------------------------\\n\");return 1;}public OnFilterScriptExit(){return 1;}#elsemain(){print(\"\\n----------------------------------\");print(\"--------DRIFT Infinity Server-------\");print(\"----------------------------------\\n\");}#endifpublic OnGameModeInit(){Textdraw0 = TextDrawCreate(413.000000, 421.000000, \"Drift Infinity Server\");TextDrawBackgroundColor(Textdraw0, 255);TextDrawFont(Textdraw0, 1);TextDrawLetterSize(Textdraw0, 0.629998, 2.699999); TextDrawColor(Textdraw0, 3454143);TextDrawSetOutline(Textdraw0, 0);TextDrawSetProportional(Textdraw0, 1);TextDrawSetShadow(Textdraw0, 1);Textdraw1 = TextDrawCreate(7.000000, 427.000000, \"/info /rules /teles /cmds\");TextDrawBackgroundColor(Textdraw1, 255);TextDrawFont(Textdraw1, 1);TextDrawLetterSize(Textdraw1, 0.509999, 1.800000);TextDrawColor(Textdraw1, 9454143);TextDrawSetOutline(Textdraw1, 0);TextDrawSetProportional(Textdraw1, 1);TextDrawSetShadow(Textdraw1, 1); for(new i; i < MAX_PLAYERS; i ++){if(IsPlayerConnected(i)){ TextDrawShowForPlayer(i, Textdraw0); TextDrawShowForPlayer(i, Textdraw1);}}SetGameModeText(\"[HUN]NDIS\");AddPlayerClass(0, 2095.9956,1285.5095,77.6584,83.8367,0,0,0,0,0,0);AddPlayerClass(217, 2095.9956,1285.5095,77.6584,83.8367,0,0,0,0,0,0);AddPlayerClass(214, 2095.9956,1285.5095,77.6584,83.8367,0,0,0,0,0,0);return 1;} public OnGameModeExit(){ TextDrawHideForAll(Textdraw0);TextDrawDestroy(Textdraw0);TextDrawHideForAll(Textdraw1);TextDrawDestroy(Textdraw1);return 1;}public OnPlayerRequestClass(playerid, classid){SetPlayerPos(playerid, 2095.9956,1285.5095,77.6584,83.8367);SetPlayerCameraPos(playerid, 2077.3892,1285.1162,77.6522,268.7443);SetPlayerCameraLookAt(playerid, 2077.3892,1285.1162,77.6522,268.7443);return 1;}public OnPlayerConnect(playerid){ SendClientMessage(playerid, 0x99FF00AA, \"Üdvözöllek a Night Drift Infinity Server-en!\"); GameTextForPlayer(playerid,\"~b~Jo Jatekot! ^^\",1000,3); new string[64], pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,MAX_PLAYER_NAME); format(string,sizeof string,\"%s csatlakozott a szerverhez! Üdvözöljük\",pName); SendClientMessageToAll(0x74E80099,string); PlayAudioStreamForPlayer(playerid, \"http://195.70.35.172:8000/radio1.mp3\"); SendClientMessage(playerid, 0x99FF00AA, \"Te a most a Rádió1-et halgatod \"); return 1;}public OnPlayerDisconnect(playerid, reason){newstring[64],name[MAX_PLAYER_NAME];GetPlayerName(playerid,name,MAX_PLAYER_NAME); switch(reason) { case 0: format(string,sizeof string,\"%s lelépett a szerverõl! [Kifagyott]\",name); case 1: format(string,sizeof string,\"%s lelépett a szerverõl! [Kilépett]\",name); case 2: format(string,sizeof string,\"%s lelépett a szerverõl! [Kick/Ban]\",name); } SendClientMessageToAll(0x74E80099,string);return 1;}public OnPlayerSpawn(playerid){TextDrawShowForPlayer(playerid, Textdraw0);TextDrawShowForPlayer(playerid, Textdraw1);GameTextForPlayer(playerid,\"~b~Ugorj!:D\",1000,3);GivePlayerMoney(playerid, 100); SetPlayerHealth(playerid, 9999999); SetPlayerArmour(playerid, 9999999); GivePlayerWeapon(playerid, 28,300); //??? , 300 ammovalGivePlayerWeapon(playerid, 46,1); //ejtõernyõDisablePlayerCheckpoint(playerid);return 1;}public OnPlayerDeath(playerid, killerid, reason){ GivePlayerMoney(playerid, -100); SendClientMessage(playerid, 0xAA3333AA, \"MEGHALTÁL!\"); SendClientMessage(playerid, 0x99FF00AA, \"nem ismered a /godon-t? \");return 1;}public OnVehicleSpawn(vehicleid){return 1;}public OnVehicleDeath(vehicleid, killerid){return 1;}public OnPlayerText(playerid, text[]){return 1;}public OnPlayerCommandText(playerid, cmdtext[]){ //Cmds----------------------- if (strcmp(cmdtext, \"/cmds\", true)==0){ShowPlayerDialog(playerid, 10000, DIALOG_STYLE_MSGBOX, \"Parancsaink:\", \"/flip /health /parachute\\n--------------------\\n------------------------\\n-----------------------\", \"Oké\", \"Mégse\");return 1;} //Info----------------------------------------if (strcmp(cmdtext, \"/info\", true)==0){ShowPlayerDialog(playerid, 10410, DIALOG_STYLE_MSGBOX, \"Informácíó:\", \"A Server Fejlesztés alatt ál.\\nBátran fordulj az Adminokhoz.\", \"Oké\", \"Vissza\"); return 1;} //teles----------------------------------------if (strcmp(cmdtext, \"/teles\", true)==0){ShowPlayerDialog(playerid, 10410, DIALOG_STYLE_MSGBOX, \"Teleport Segítség:\", \"A Dialogus Teleportért:/tele\\nA Simán Teleportáláshoz:/neve=/drift5\", \"Igen\", \"Vissza\"); return 1;} //Szabályzat------------------------------------if (strcmp(cmdtext, \"/rules\", true)==0){ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, \"Szabályzat:\", \"Ne Hackelj\\nNe DB \\nDrift-Stunt Javító Programokat ne használj!\\nAdminokat ne sértegesd!\\nKellemes játékot kiván az Admin Team.\", \"Elfogad\", \"Takarodj!\"); return 1;}//Készítõ----------------------------------------if (strcmp(cmdtext, \"/credits\", true)==0){ShowPlayerDialog(playerid, 10410, DIALOG_STYLE_MSGBOX, \"Készítõ:\", \"A Gamemodet Csinálta Miky\\nMapolva: 30%-ban.\", \"Oksa\", \"Vissza\"); return 1;}//Parancsok-------------------------------------- if(strcmp(cmdtext, \"/parachute\", true) == 0) { GivePlayerWeapon(playerid, 46, 1); SendClientMessage(playerid, 0x00BFFFFF, \"Tesék Megkaptad az ejtõernyõd!\"); return 1;}if (strcmp(cmdtext, \"/flip\", true)==0){new VehicleID, Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z);VehicleID = GetPlayerVehicleID(playerid);SetVehiclePos(VehicleID, X, Y, Z);SetVehicleZAngle(VehicleID, 0);SendClientMessage(playerid, 0x00BFFFFF, \"A Verdád felálítva!\"); return 1;} if (strcmp(cmdtext, \"/godoff\", true)==0){SetPlayerHealth(playerid,100);SendClientMessage(playerid, 0x00BFFFFF, \"Godmode kikapcsolva!\");return 1;}if (strcmp(cmdtext, \"/godon\", true)==0){SetPlayerHealth(playerid,99999999);SendClientMessage(playerid, 0x00BFFFFF, \"Godmode aktiválva!\");return 1;}if(strcmp(\"/kill\", cmdtext, true, 10) == 0) { SetPlayerHealth(playerid, 000.0); return 1;}return SendClientMessage(playerid,0x74E80099,\"Ez a parancs nem létezik!\"); }public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){return 1;}public OnPlayerExitVehicle(playerid, vehicleid){return 1;}public OnPlayerStateChange(playerid, newstate, oldstate){return 1;}public OnPlayerEnterCheckpoint(playerid){return 1;}public OnPlayerLeaveCheckpoint(playerid){return 1;}public OnPlayerEnterRaceCheckpoint(playerid){return 1;}public OnPlayerLeaveRaceCheckpoint(playerid){return 1;}public OnRconCommand(cmd[]){return 1;}public OnPlayerRequestSpawn(playerid){return 1;}public OnObjectMoved(objectid){return 1;}public OnPlayerObjectMoved(playerid, objectid){return 1;}public OnPlayerPickUpPickup(playerid, pickupid){return 1;}public OnVehicleMod(playerid, vehicleid, componentid){return 1;}public OnVehiclePaintjob(playerid, vehicleid, paintjobid){return 1;}public OnVehicleRespray(playerid, vehicleid, color1, color2){return 1;}public OnPlayerSelectedMenuRow(playerid, row){return 1;}public OnPlayerExitedMenu(playerid){return 1;}public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid){return 1;}public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){return 1;}public OnRconLoginAttempt(ip[], password[], success){return 1;}public OnPlayerUpdate(playerid){return 1;}public OnPlayerStreamIn(playerid, forplayerid){return 1;}public OnPlayerStreamOut(playerid, forplayerid){return 1;}public OnVehicleStreamIn(vehicleid, forplayerid){return 1;}public OnVehicleStreamOut(vehicleid, forplayerid){return 1;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){return 1;}public OnPlayerClickPlayer(playerid, clickedplayerid, source){return 1;}
remélem nem ütközik semmien szabályba xd lécci ne copyzzatok
ShowPlayerDialog(playerid, 10410, DIALOG_STYLE_MSGBOX, \"Készítõ:\", \"A Gamemodet Csinálta Miky\\nMapolva: 30%-ban.\", \"Oksa\", \"Vissza\");[/quote]Te csináltad a módot? á testvér nem hinném akkor most ez mi? ez a játékmód benne van te csak át írtad a dolgokat. :facepalm: :facepalm:http://sampforum.hu/index.php?topic=24734.0Bocs a OFF ért csak nagyon szúrja a szememet!
#include <a_samp>new Text:Textdraw0;new Text:Textdraw1;#define COLOR_RED 0xAA3333AA#define COLOR_GREY 0xAFAFAFAA#define COLOR_GREEN 0x33AA33AA#define COLOR_RED 0xAA3333AA#define COLOR_YELLOW 0xFFFF00AA#define COLOR_WHITE 0xFFFFFFAA#define COLOR_SPAWN 0xFF8C55FF#define COLOR_LIGHTBLUE 0x6DC5F3FF#define COLOR_ADMIN 0xFF0000FF#define COLOR_SAY 0x2986CEFF#define COLOR_SYSGREY 0xC6BEBDFF#define COLOR_BLACK 0x000000FF#define COLOR_JOIN 0x74E80099#define COLOR_WARN 0xBE615099#define COLOR_RACE 0x00BBBB99#define COLOR_KRED 0xFF0000FF#define COLOR_TELENARANCS 0xff664cff#define COLOR_SZABÁLY 0xca88ffff#define COLOR_ME4 0xffffc8ff#define COLOR_KILL 0xe62740ff#define COLOR_TELESÁRGA 0xd8ff00ff#define COLOR_ÉLETFIX 0x00b46dff#define COLOR_POZÍCIÓ 0xffffb1ff#define COLOR_TURQ 0x00A3C0AA#define COLOR_BLUE 0x0000FFAA#define COLOR_GREY 0xAFAFAFAA#define COLOR_GREEN 0x33AA33AA#define COLOR_RED 0xAA3333AA#define COLOR_YELLOW 0xFFFF00AA#define COLOR_WHITE 0xFFFFFFAA#define COLOR_PURPLE 0x9900FFAA#define COLOR_BROWN 0x993300AA#define COLOR_ORANGE 0xFF9933AA#define COLOR_CYAN 0x99FFFFAA#define COLOR_TAN 0xFFFFCCAA#define COLOR_PINK 0xFF66FFAA#define COLOR_KHAKI 0x999900AA#define COLOR_LIME 0x99FF00AA#define COLOR_TURQ 0x00A3C0AA#define COLOR_GREEN 0x33AA33AA#define COLOR_RED 0xAA3333AA#if defined FILTERSCRIPTpublic OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\"-------- DRIFT Infinity v2 ---------\");print(\"--------------------------------------\\n\");return 1;}public OnFilterScriptExit(){return 1;}#elsemain(){print(\"\\n----------------------------------\");print(\"--------DRIFT Infinity Server-------\");print(\"----------------------------------\\n\");}#endifpublic OnGameModeInit(){Textdraw0 = TextDrawCreate(413.000000, 421.000000, \"Drift Infinity Server\");TextDrawBackgroundColor(Textdraw0, 255);TextDrawFont(Textdraw0, 1);TextDrawLetterSize(Textdraw0, 0.629998, 2.699999); TextDrawColor(Textdraw0, 3454143);TextDrawSetOutline(Textdraw0, 0);TextDrawSetProportional(Textdraw0, 1);TextDrawSetShadow(Textdraw0, 1);Textdraw1 = TextDrawCreate(7.000000, 427.000000, \"/info /rules /teles /cmds\");TextDrawBackgroundColor(Textdraw1, 255);TextDrawFont(Textdraw1, 1);TextDrawLetterSize(Textdraw1, 0.509999, 1.800000);TextDrawColor(Textdraw1, 9454143);TextDrawSetOutline(Textdraw1, 0);TextDrawSetProportional(Textdraw1, 1);TextDrawSetShadow(Textdraw1, 1); for(new i; i < MAX_PLAYERS; i ++){if(IsPlayerConnected(i)){ TextDrawShowForPlayer(i, Textdraw0); TextDrawShowForPlayer(i, Textdraw1);}}SetGameModeText(\"[HUN]NDIS\");AddPlayerClass(0, 2095.9956,1285.5095,77.6584,83.8367,0,0,0,0,0,0);AddPlayerClass(217, 2095.9956,1285.5095,77.6584,83.8367,0,0,0,0,0,0);AddPlayerClass(214, 2095.9956,1285.5095,77.6584,83.8367,0,0,0,0,0,0);return 1;} public OnGameModeExit(){ TextDrawHideForAll(Textdraw0);TextDrawDestroy(Textdraw0);TextDrawHideForAll(Textdraw1);TextDrawDestroy(Textdraw1);return 1;}public OnPlayerRequestClass(playerid, classid){ SetPlayerPos(playerid, 2095.9956,1285.5095,77.6584,83.8367);SetPlayerCameraPos(playerid, 2077.3892,1285.1162,77.6522,268.7443);SetPlayerCameraLookAt(playerid, 2077.3892,1285.1162,77.6522,268.7443);return 1;}public OnPlayerConnect(playerid){ SendClientMessage(playerid, 0x99FF00AA, \"Üdvözöllek a Night Drift Infinity Server-en!\"); GameTextForPlayer(playerid,\"~b~Jo Jatekot! ^^\",1000,3); new string[64], pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,MAX_PLAYER_NAME); format(string,sizeof string,\"%s csatlakozott a szerverhez! Üdvözöljük\",pName); SendClientMessageToAll(0x74E80099,string); PlayAudioStreamForPlayer(playerid, \"http://195.70.35.172:8000/radio1.mp3\"); SendClientMessage(playerid, 0x99FF00AA, \"Te a most a Rádió1-et halgatod \");return 1;}public OnPlayerDisconnect(playerid, reason){newstring[64],name[MAX_PLAYER_NAME];GetPlayerName(playerid,name,MAX_PLAYER_NAME); switch(reason) { case 0: format(string,sizeof string,\"%s lelépett a szerverõl! [Kifagyott]\",name); case 1: format(string,sizeof string,\"%s lelépett a szerverõl! [Kilépett]\",name); case 2: format(string,sizeof string,\"%s lelépett a szerverõl! [Kick/Ban]\",name); } SendClientMessageToAll(0x74E80099,string);return 1;}public OnPlayerSpawn(playerid){TextDrawShowForPlayer(playerid, Textdraw0);TextDrawShowForPlayer(playerid, Textdraw1);GameTextForPlayer(playerid,\"~b~Ugorj!:D\",1000,3);GivePlayerMoney(playerid, 100);SetPlayerHealth(playerid, 9999999);SetPlayerArmour(playerid, 9999999);GivePlayerWeapon(playerid, 28,300); //??? , 300 ammovalGivePlayerWeapon(playerid, 46,1); //ejtõernyõDisablePlayerCheckpoint(playerid);SetTimerEx(\"time\",40000,0,\"i\",playerid);//Elindul a timer amikor kapcsolodikSetWorldTime(23);//Hogy már akkor este legyenreturn 1;}public OnPlayerDeath(playerid, killerid, reason){ GivePlayerMoney(playerid, -100); SendClientMessage(playerid, 0xAA3333AA, \"MEGHALTÁL!\"); SendClientMessage(playerid, 0x99FF00AA, \"nem ismered a /godon-t? \");return 1;}public OnVehicleSpawn(vehicleid){return 1;}public OnVehicleDeath(vehicleid, killerid){return 1;}public OnPlayerText(playerid, text[]){return 1;}public OnPlayerCommandText(playerid, cmdtext[]){ //Cmds----------------------- if (strcmp(cmdtext, \"/cmds\", true)==0){ShowPlayerDialog(playerid, 10000, DIALOG_STYLE_MSGBOX, \"Parancsaink:\", \"/flip /health /parachute\\n--------------------\\n------------------------\\n-----------------------\", \"Oké\", \"Mégse\"); return 1;} //Info----------------------------------------if (strcmp(cmdtext, \"/info\", true)==0){ShowPlayerDialog(playerid, 10410, DIALOG_STYLE_MSGBOX, \"Informácíó:\", \"A Server Fejlesztés alatt ál.\\nBátran fordulj az Adminokhoz.\", \"Oké\", \"Vissza\"); return 1;} //teles----------------------------------------if (strcmp(cmdtext, \"/teles\", true)==0){ShowPlayerDialog(playerid, 10410, DIALOG_STYLE_MSGBOX, \"Teleport Segítség:\", \"A Dialogus Teleportért:/tele\\nA Simán Teleportáláshoz:/neve=/drift5\", \"Igen\", \"Vissza\"); return 1;} //Szabályzat------------------------------------if (strcmp(cmdtext, \"/rules\", true)==0){ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, \"Szabályzat:\", \"Ne Hackelj\\nNe DB \\nDrift-Stunt Javító Programokat ne használj!\\nAdminokat ne sértegesd!\\nKellemes játékot kiván az Admin Team.\", \"Elfogad\", \"Takarodj!\"); return 1;}//Készítõ----------------------------------------if (strcmp(cmdtext, \"/credits\", true)==0){ShowPlayerDialog(playerid, 10410, DIALOG_STYLE_MSGBOX, \"Készítõ:\", \"A Gamemodet Csinálta Miky\\nMapolva: 30%-ban.\", \"Oksa\", \"Vissza\"); return 1;}//Parancsok-------------------------------------- if(strcmp(cmdtext, \"/parachute\", true) == 0) { GivePlayerWeapon(playerid, 46, 1); SendClientMessage(playerid, 0x00BFFFFF, \"Tesék Megkaptad az ejtõernyõd!\"); return 1;}if (strcmp(cmdtext, \"/flip\", true)==0){new VehicleID, Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z);VehicleID = GetPlayerVehicleID(playerid);SetVehiclePos(VehicleID, X, Y, Z);SetVehicleZAngle(VehicleID, 0);SendClientMessage(playerid, 0x00BFFFFF, \"A Verdád felálítva!\"); return 1;} if (strcmp(cmdtext, \"/godoff\", true)==0){SetPlayerHealth(playerid,100);SendClientMessage(playerid, 0x00BFFFFF, \"Godmode kikapcsolva!\");return 1;}if (strcmp(cmdtext, \"/godon\", true)==0){SetPlayerHealth(playerid,99999999);SendClientMessage(playerid, 0x00BFFFFF, \"Godmode aktiválva!\");return 1;}if(strcmp(\"/kill\", cmdtext, true, 10) == 0) { SetPlayerHealth(playerid, 000.0); return 1;}return SendClientMessage(playerid,0x74E80099,\"Ez a parancs nem létezik!\"); }public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){return 1;}public OnPlayerExitVehicle(playerid, vehicleid){return 1;}public OnPlayerStateChange(playerid, newstate, oldstate){return 1;}public OnPlayerEnterCheckpoint(playerid){return 1;}public OnPlayerLeaveCheckpoint(playerid){return 1;}public OnPlayerEnterRaceCheckpoint(playerid){return 1;}public OnPlayerLeaveRaceCheckpoint(playerid){return 1;}public OnRconCommand(cmd[]){return 1;}public OnPlayerRequestSpawn(playerid){return 1;}public OnObjectMoved(objectid){return 1;}public OnPlayerObjectMoved(playerid, objectid){return 1;}public OnPlayerPickUpPickup(playerid, pickupid){return 1;}public OnVehicleMod(playerid, vehicleid, componentid){return 1;}public OnVehiclePaintjob(playerid, vehicleid, paintjobid){return 1;}public OnVehicleRespray(playerid, vehicleid, color1, color2){return 1;}public OnPlayerSelectedMenuRow(playerid, row){return 1;}public OnPlayerExitedMenu(playerid){return 1;}public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid){return 1;}public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){return 1;}public OnRconLoginAttempt(ip[], password[], success){return 1;}public OnPlayerUpdate(playerid){return 1;}public OnPlayerStreamIn(playerid, forplayerid){return 1;}public OnPlayerStreamOut(playerid, forplayerid){return 1;}public OnVehicleStreamIn(vehicleid, forplayerid){return 1;}public OnVehicleStreamOut(vehicleid, forplayerid){return 1;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){return 1;}public OnPlayerClickPlayer(playerid, clickedplayerid, source){return 1;}forward time(playerid);public time(playerid){ SetWorldTime(23);//Megint visszadobja az idõt SetTimerEx(\"time\",40000,0,\"i\",playerid);//újraindul a folyamat és ez így fog folytatódni szépen lassan return 1;}
OnGameModeInit alá: SetWorldTime(23); vagy OnPlayerSpawn alá: SetPlayerTime(playerid,23,0);
SetWorldTime(23);
SetPlayerTime(playerid,23,0);
public OnPlayerSpawn(playerid){ ... SetWorldTime(23);//Hogy már akkor este legyen return 1;}
Sets the world time to a specific hour.[/quote]a szerver idejét állítja behttp://wiki.sa-mp.com/wiki/SetPlayerTime Sets the clock of the player to a specific value. This also changes the daytime (night/day etc.)[/quote]a játékos idejét állítja bede azért majdnem jó :D
Sets the clock of the player to a specific value. This also changes the daytime (night/day etc.)[/quote]a játékos idejét állítja bede azért majdnem jó :D