/*=================================================Hasznos de unalmas script Írta KeNGuRu a.k.a. Gumikacsa=================================================*/#include <a_samp>#include <fixchars>public OnFilterScriptInit(){print(\"\\n----------------------------------------\");print(\"Hasznos Script by KeNGuRU a.k.a. Gumikacsa\");print(\"----------------------------------------\\n\");return 1;}public OnPlayerConnect(playerid){ new neve[MAX_PLAYER_NAME], string[128]; GetPlayerName(playerid, neve, sizeof(neve)); format(string, sizeof(string), \"..::%s Csatlakozott a Szerverhez::..\",neve,GetMaxPlayers()); SendClientMessageToAll(0x000FFF, string);return 1;}public OnPlayerDisconnect(playerid, reason){new neve[MAX_PLAYER_NAME], string[128]; GetPlayerName(playerid, neve, sizeof(neve)); switch(reason) { case 0: format(string, sizeof(string), \"%s Lement a Szerverrõl (Idõtullépés). \", neve,GetMaxPlayers()); case 1: format(string, sizeof(string), \"%s Lement a Szerverrõl. (Kilépett) \", neve,GetMaxPlayers()); case 2: format(string, sizeof(string), \"%s Lement a Szerverrõl. (Kick/Ban) \", neve,GetMaxPlayers()); } SendClientMessageToAll(0x00000FF, string);return 1;}public OnPlayerSpawn(playerid){new neve[MAX_PLAYER_NAME], string[128];GetPlayerName(playerid, neve, sizeof(neve));format(string, sizeof(string), \"..::%s Sikeresen Spawnolt::..\", neve);SendClientMessageToAll(0x0F0F0,string);return 1;}public OnPlayerDeath(playerid, killerid, reason){SendClientMessage(playerid,0xFFFFFFF,\"Meghaltál!\");new string[64], neve[MAX_PLAYER_NAME];GetPlayerName(playerid,neve,MAX_PLAYER_NAME);format(string,sizeof string,\"%s -t Megölte %i\",neve,killerid);return 1;}public OnPlayerText(playerid, text[]){SetPlayerChatBubble(playerid, text, 0x8080F0F, 100.0, 10000);return 1;}public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){SendClientMessage(playerid,0x13FF343,\"..::Éppen beszálsz egy jármûbe::..\");GameTextForPlayer(playerid,\"Éppen beszálsz egy jármûbe!\", 5000, 3);return 1;}public OnPlayerExitVehicle(playerid, vehicleid){SendClientMessage(playerid,0x0DF12F3F,\"..::Éppen kiszálsz egy jármûbõl::..\");GameTextForPlayer(playerid,\"Éppen kiszálsz egy jármûbõl\", 5000, 3);return 1;}
new neve[MAX_PLAYER_NAME],
new neve[24],
format(string, sizeof(string), \"..::%s Csatlakozott a Szerverhez::..\",neve,GetMaxPlayers());
format(string, sizeof(string), \"..::%s Csatlakozott a Szerverhez (%i/%i) ::..\",neve, GetMaxPlayers(), playerid);
SendClientMessageToAll(0x0F0F0,string);
SendClientMessageToAll(0x0F0F0FFF, string);
public OnPlayerDeath(playerid, killerid, reason){SendClientMessage(playerid,0xFFFFFFF,\"Meghaltál!\");new string[64], neve[MAX_PLAYER_NAME];GetPlayerName(playerid,neve,MAX_PLAYER_NAME);format(string,sizeof string,\"%s -t Megölte %i\",neve,killerid);return 1;}
public OnPlayerDeath(playerid, killerid, reason){SendClientMessage(playerid,0xFFFFFFF,\"Meghaltál!\");new string[64], neve[24], nevekiller[24];GetPlayerName(playerid,neve,24); GetPlayerName(playerid,nevekiller,24);format(string,sizeof(string),\"%s -t Megölte %s\", neve, nevekiller); SendClientMessageToAll(0xFFFFFFFF, string);return 1;}