Sziasztok alap chatet hogy tudom kiszedni ?
Sziasztok alap chatet hogy tudom kiszedni ? Üzenõfalat nem tudod kiszedni, max csatlakozás után SendClientMessage-el küldesz 100 darab szóközös karakterláncot, és OnPlayerText eljárás visszatérését módosítsd 0-ra. [/quote]Hello nem arra gondolok , hanem írok egy adott szöveget és kétszer adja ki pedig csak ez van a modban! public OnPlayerText(playerid,text[]){ if(IsPlayerConnected(playerid)) { if(AdminSzolgalat[playerid] == 0) { format(szoveg1,sizeof(szoveg1),\"%s Mondjaszar: %s\",Neve(playerid),text); ProxDetector(playerid,GREEN,szoveg1,8.0); } } return 1;}
public OnPlayerText(playerid,text[]){ if(IsPlayerConnected(playerid)) { if(AdminSzolgalat[playerid] == 0) { format(szoveg1,sizeof(szoveg1),\"%s Mondjaszar: %s\",Neve(playerid),text); ProxDetector(playerid,GREEN,szoveg1,8.0); } } return 1;}
Sziasztok alap chatet hogy tudom kiszedni ? Üzenõfalat nem tudod kiszedni, max csatlakozás után SendClientMessage-el küldesz 100 darab szóközös karakterláncot, és OnPlayerText eljárás visszatérését módosítsd 0-ra. [/quote]Hello nem arra gondolok , hanem írok egy adott szöveget és kétszer adja ki pedig csak ez van a modban! public OnPlayerText(playerid,text[]){ if(IsPlayerConnected(playerid)) { if(AdminSzolgalat[playerid] == 0) { format(szoveg1,sizeof(szoveg1),\"%s Mondjasz*r: %s\",Neve(playerid),text); ProxDetector(playerid,GREEN,szoveg1,8.0); } } return 1;} [/quote]a végén return 1 helyett return 0;
public OnPlayerText(playerid,text[]){ if(IsPlayerConnected(playerid)) { if(AdminSzolgalat[playerid] == 0) { format(szoveg1,sizeof(szoveg1),\"%s Mondjasz*r: %s\",Neve(playerid),text); ProxDetector(playerid,GREEN,szoveg1,8.0); } } return 1;}
return 0;
Igazából: public OnPlayerText(playerid,text[]){ if(AdminSzolgalat[playerid] == 0) { format(szoveg1,sizeof(szoveg1),\"%s Mondjasz*r: %s\",Neve(playerid),text); ProxDetector(playerid,GREEN,szoveg1,8.0); return 0; } return 1;} és az IsPlayerConnected nem kell.
public OnPlayerText(playerid,text[]){ if(AdminSzolgalat[playerid] == 0) { format(szoveg1,sizeof(szoveg1),\"%s Mondjasz*r: %s\",Neve(playerid),text); ProxDetector(playerid,GREEN,szoveg1,8.0); return 0; } return 1;}
Sziasztok! Az miért van hogy beinditanám a proline szerver modot és nem tölti be..Log. Script[gamemodes/proline.amx]: Run time error 19: \"File or function is not found\"
Script[gamemodes/proline.amx]: Run time error 19: \"File or function is not found\"
Bevan az összes :cry3: ----------Loaded log file: \"server_log.txt\".----------SA-MP Dedicated Server----------------------v0.3x, (C)2005-2013 SA-MP Team[13:35:26] filterscripts = \"\" (string)[13:35:26] [13:35:26] Server Plugins[13:35:26] --------------[13:35:26] Loading plugin: dns[13:35:26] *** DNS Plugin v2.4 by Incognito loaded ***[13:35:26] Loaded.[13:35:26] Loading plugin: drift[13:35:26] Failed.[13:35:26] Loading plugin: gvar[13:35:26] *** GVar Plugin v1.3 by Incognito loaded ***[13:35:26] Loaded.[13:35:26] Loading plugin: irc[13:35:26] *** IRC Plugin v1.4.3 by Incognito loaded ***[13:35:26] Loaded.[13:35:26] Loading plugin: mysql[13:35:26] Failed.[13:35:26] Loading plugin: sscanf[13:35:26] [13:35:26] ===============================[13:35:26] sscanf plugin loaded. [13:35:26] Version: 2.8.1 [13:35:26] (c) 2012 Alex \"Y_Less\" Cole [13:35:26] ===============================[13:35:26] Loaded.[13:35:26] Loading plugin: streamer[13:35:26] *** Streamer Plugin v2.6.1 by Incognito loaded ***[13:35:27] Loaded.[13:35:27] Loading plugin: utf8[13:35:27] » UTF8 Encoder/Decoder plugin (by RyDeR`) has been loaded. [13:35:27] Loaded.[13:35:27] Loading plugin: YSF[13:35:27] Failed.[13:35:27] Loaded 6 plugins.[13:35:27] [13:35:27] Filterscripts[13:35:27] ---------------[13:35:27] Loaded 0 filterscripts.[13:35:27] Script[gamemodes/proline.amx]: Run time error 19: \"File or function is not found\"[13:35:27] Number of vehicle models: 0
----------Loaded log file: \"server_log.txt\".----------SA-MP Dedicated Server----------------------v0.3x, (C)2005-2013 SA-MP Team[13:35:26] filterscripts = \"\" (string)[13:35:26] [13:35:26] Server Plugins[13:35:26] --------------[13:35:26] Loading plugin: dns[13:35:26] *** DNS Plugin v2.4 by Incognito loaded ***[13:35:26] Loaded.[13:35:26] Loading plugin: drift[13:35:26] Failed.[13:35:26] Loading plugin: gvar[13:35:26] *** GVar Plugin v1.3 by Incognito loaded ***[13:35:26] Loaded.[13:35:26] Loading plugin: irc[13:35:26] *** IRC Plugin v1.4.3 by Incognito loaded ***[13:35:26] Loaded.[13:35:26] Loading plugin: mysql[13:35:26] Failed.[13:35:26] Loading plugin: sscanf[13:35:26] [13:35:26] ===============================[13:35:26] sscanf plugin loaded. [13:35:26] Version: 2.8.1 [13:35:26] (c) 2012 Alex \"Y_Less\" Cole [13:35:26] ===============================[13:35:26] Loaded.[13:35:26] Loading plugin: streamer[13:35:26] *** Streamer Plugin v2.6.1 by Incognito loaded ***[13:35:27] Loaded.[13:35:27] Loading plugin: utf8[13:35:27] » UTF8 Encoder/Decoder plugin (by RyDeR`) has been loaded. [13:35:27] Loaded.[13:35:27] Loading plugin: YSF[13:35:27] Failed.[13:35:27] Loaded 6 plugins.[13:35:27] [13:35:27] Filterscripts[13:35:27] ---------------[13:35:27] Loaded 0 filterscripts.[13:35:27] Script[gamemodes/proline.amx]: Run time error 19: \"File or function is not found\"[13:35:27] Number of vehicle models: 0
Már betölt mindent :thumbsup:Csak a modba van hiba javítani én nem tudom... :facepalm: [16:49:10] Error: Function not registered: \'mysql_log\'[16:49:10] Error: Function not registered: \'mysql_tquery\'[16:49:10] Error: Function not registered: \'SetPlayerGravity\'[16:49:10] Error: Function not registered: \'mysql_escape_string\'[16:49:10] Error: Function not registered: \'cache_insert_id\'[16:49:10] Error: Function not registered: \'cache_get_row_int\'[16:49:10] Error: Function not registered: \'cache_get_row_float\'[16:49:10] Error: Function not registered: \'cache_get_row_count\'[16:49:10] Script[gamemodes/proline.amx]: Run time error 19: \"File or function is not found\"[16:49:10] Number of vehicle models: 0
[16:49:10] Error: Function not registered: \'mysql_log\'[16:49:10] Error: Function not registered: \'mysql_tquery\'[16:49:10] Error: Function not registered: \'SetPlayerGravity\'[16:49:10] Error: Function not registered: \'mysql_escape_string\'[16:49:10] Error: Function not registered: \'cache_insert_id\'[16:49:10] Error: Function not registered: \'cache_get_row_int\'[16:49:10] Error: Function not registered: \'cache_get_row_float\'[16:49:10] Error: Function not registered: \'cache_get_row_count\'[16:49:10] Script[gamemodes/proline.amx]: Run time error 19: \"File or function is not found\"[16:49:10] Number of vehicle models: 0