Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.
Üzenetek - Mestter
31
« Dátum: 2013. július 09. - 08:45:10 »
Üdv afterlife módban hól lehet megváltoztatni ha a játékos meghal akkor máshol spawnoljon? Ezt találtam: public OnPlayerDeath(playerid, killerid, reason) { if(Rabol[playerid] != 0) Rabol[playerid] = 0; for(new i=0; i<MAX_PLAYERS; i++) { new sendername[32]; new planame[MAX_PLAYER_NAME]; GetPlayerName(playerid, planame, sizeof(planame)); GetPlayerName(killerid, sendername, sizeof(sendername)); format(stringx, sizeof(stringx), \"%s megölte %s.\", sendername, rag(planame,3)); if(Admin(i, 1)) SendClientMessage(i, COLOR_GRAD1, stringx); if(playerid != killerid) rk[killerid][playerid] = 601; Fegyverelol[playerid] = 0; if(PlayerInfo[playerid][biztositas] == 0) { PlayerInfo[playerid][Korhazban] = 1; } if(PlayerInfo[playerid][biztositas] == 1) { PlayerInfo[playerid][Korhazban] = 0; PlayerInfo[playerid][Penz] += 10000; SafeGivePlayerMoney(playerid, 10000); format(stringx, sizeof(stringx), \"Mivel van életbiztosításod így kaptál 10000Ft-t!\"); SendClientMessage(playerid, COLOR_WHITE, stringx); varoskassza -= -1000; Savevaroskassza(); new nev[32]; GetPlayerName(playerid, nev, sizeof(nev)); new h,mi,s,y,m,d; getdate(y,m,d); gettime(h,mi,s); format(stringx,sizeof(stringx), \"[%d/%d/%d][%d:%d:%d][biztosítás] %s biztosítás által kapott 10000Ft-t.\",y,m,d,h,mi,s,nev); LoOoG(stringx); } SafeResetPlayerWeapons(playerid); ResetPlayerWeapons(playerid); PlayerInfo[playerid][Animban] = 0; gyogyulas[playerid] = 0; PlayerInfo[playerid][eseg] = 100; PlayerInfo[playerid][szomjas] = 100; PlayerInfo[playerid][szukseg] = 100; } new name[MAX_PLAYER_NAME]; new string[256]; //new dmessage[128]; //new deathreason[20]; new playercash; new victimteam; new Float:px,Float:py,Float:pz; new killerteam; victimteam = gTeam[playerid]; killerteam = gTeam[killerid]; gPlayerSpawned[playerid] = 0; PlayerInfo[playerid][pInvWeapon] = 0; PlayerInfo[playerid][pInvAmmo] = 0; GetPlayerName(playerid, name, sizeof(name)); PlayerInfo[playerid][pLocal] = 255; GetPlayerPos(playerid, px, py, pz); if(killerid != 255) { if(GetPlayerState(killerid) == 2) { if(ProxDetectorS(20, killerid, playerid)) { if(!IsPlayerInAnyVehicle(playerid)) { if(PlayerInfo[killerid][pMember] == 1||PlayerInfo[killerid][pLeader] == 1||PlayerInfo[killerid][pMember] == 2||PlayerInfo[killerid][pLeader] ==2) { SendClientMessage(killerid, COLOR_YELLOW, \"Az autóval való gyilkolás súlyos büntetést von maga után!\"); return 1; } //SetPlayerCriminal(killerid,255,\"Manslaughter\"); //SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid)+1); return 1; } } } } if (!Admin(killerid, 1)) { if(reason == 38) { new kstring[128]; new kickname[MAX_PLAYER_NAME]; if(IsPlayerConnected(killerid)) { GetPlayerName(killerid, kickname, sizeof(kickname)); format(string, 256, \"[!!FIGYELMEZTETÉS!!] [%d]%s megölte [%d]%s minigunnal.\",killerid,kickname,playerid,name); ABroadCast(COLOR_RED,string,1); printf(\"%s\", kstring); } } if(reason == 35) { new kstring[128]; new kickname[MAX_PLAYER_NAME]; if(IsPlayerConnected(killerid)) { GetPlayerName(killerid, kickname, sizeof(kickname)); format(string, 256, \"[!!FIGYELMEZTETÉS!!] [%d]%s megölte lángszóróval.\",killerid,kickname); ABroadCast(COLOR_LIGHTRED,string,1); printf(\"%s\", kstring); } } if(reason == 9) { new kstring[128]; new kickname[MAX_PLAYER_NAME]; if(IsPlayerConnected(killerid)) { GetPlayerName(killerid, kickname, sizeof(kickname)); format(string, 256, \"[!!FIGYELMEZTETÉS!!] [%d]%s megölte láncfûrésszel.\",killerid,kickname); ABroadCast(COLOR_LIGHTRED,string,1); printf(\"%s\", kstring); } } if(reason == 16) { new kstring[128]; new kickname[MAX_PLAYER_NAME]; if(IsPlayerConnected(killerid)) { GetPlayerName(killerid, kickname, sizeof(kickname)); format(string, 256, \"[!!FIGYELMEZTETÉS!!] [%d]%s megölte gránáttal.\",killerid,kickname); ABroadCast(COLOR_LIGHTRED,string,1); printf(\"%s\", kstring); } } if(reason == 18) { new kstring[128]; new kickname[MAX_PLAYER_NAME]; if(IsPlayerConnected(killerid)) { GetPlayerName(killerid, kickname, sizeof(kickname)); format(string, 256, \"[!!FIGYELMEZTETÉS!!] [%d]%s megölte molotov koktéllal.\",killerid,kickname); ABroadCast(COLOR_LIGHTRED,string,1); printf(\"%s\", kstring); } } if(reason == 28) { new kstring[128]; new kickname[MAX_PLAYER_NAME]; if(IsPlayerConnected(killerid)) { GetPlayerName(killerid, kickname, sizeof(kickname)); format(string, 256, \"[!!FIGYELMEZTETÉS!!] [%d]%s megölte MAC 10-essel.\",killerid,kickname); ABroadCast(COLOR_LIGHTRED,string,1); printf(\"%s\", kstring); } } if(reason == 32) { new kstring[128]; new kickname[MAX_PLAYER_NAME]; if(IsPlayerConnected(killerid)) { GetPlayerName(killerid, kickname, sizeof(kickname)); format(string, 256, \"[!!FIGYELMEZTETÉS!!] [%d]%s Megölte TEC 9-el.\",killerid,kickname); ABroadCast(COLOR_LIGHTRED,string,1); printf(\"%s\", kstring); } } if(reason == 36) { new kstring[128]; new kickname[MAX_PLAYER_NAME]; if(IsPlayerConnected(killerid)) { GetPlayerName(killerid, kickname, sizeof(kickname)); format(string, 256, \"[!!FIGYELMEZTETÉS!!] [%d]%s megölte rakétavetõvel.\",killerid,kickname); ABroadCast(COLOR_LIGHTRED,string,1); printf(\"%s\", kstring); } } } if (gPlayerCheckpointStatus[playerid] > 4 && gPlayerCheckpointStatus[playerid] < 11) { DisablePlayerCheckpoint(playerid); gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE; } new caller = Mobile[playerid]; if(caller != 255) { if(caller < 255) { SendClientMessage(caller, COLOR_WHITE, \"Megszakadt a vonal....\"); CellTime[caller] = 0; CellTime[playerid] = 0; Mobile[caller] = 255; } Mobile[playerid] = 255; CellTime[playerid] = 0; } ClearCrime(playerid); if(PlayerPaintballing[playerid] != 0) { PlayerPaintballKills[killerid] ++; if(PlayerPaintballKills[killerid] > PaintballWinnerKills) { new killer[MAX_PLAYER_NAME]; PaintballWinner = killerid; PaintballWinnerKills = PlayerPaintballKills[killerid]; GetPlayerName(killerid, killer, sizeof(killer)); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerPaintballing != 0) { format(string, sizeof(string), \"* %s is in the lead with %d Kills.\",killer,PaintballWinnerKills); SendClientMessage(i, COLOR_WHITE, string); } } } } return 1; } if(GettingCK[playerid] < 999) { if(IsPlayerConnected(killerid)) { if(OnCK[killerid] < 999) { new killer[MAX_PLAYER_NAME]; new dier[MAX_PLAYER_NAME]; GetPlayerName(playerid, dier, sizeof(dier)); GetPlayerName(killerid, killer, sizeof(killer)); format(string, sizeof(string), \"* %s has performed a Character Kill on you, you aren\'t able to play with this Character anymore.\",killer); SendClientMessage(playerid, COLOR_LIGHTRED, string); format(string, sizeof(string), \"** %s has Character Killed %s **\",killer,dier); CKLog(string); BroadCast(COLOR_LIGHTRED, string); PlayerInfo[playerid][pCK] = 1; if(GettingCK[playerid] < 999) { GettingCK[playerid] = 999; } else if(OnCK[playerid] < 999) { OnCK[playerid] = 999; } if(GettingCK[killerid] < 999) { GettingCK[killerid] = 999; } else if(OnCK[killerid] < 999) { OnCK[killerid] = 999; } KickPlayer[playerid] = 1; } } } if(PlayerInfo[playerid][pHeadValue] > 0) { if(IsPlayerConnected(killerid)) { if(gTeam[killerid] == 10 || PlayerInfo[killerid][pLeader] == { if(GoChase[killerid] == playerid) { //ConsumingMoney[killerid] = 1; new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); SafeGivePlayerMoney(killerid, PlayerInfo[playerid][pHeadValue]); format(string,128,\"<< Hitman %s has fulfilled the contract on %s and collected Ft%d >>\",killer,name,PlayerInfo[playerid][pHeadValue]); SendFamilyMessage(8, COLOR_YELLOW, string); PlayerInfo[playerid][pHeadValue] = 0; GotHit[playerid] = 0; GetChased[playerid] = 999; GoChase[killerid] = 999; } } } } if(victimteam >= 4) { if(IsPlayerConnected(killerid)) { //new killer[MAX_PLAYER_NAME]; //GetPlayerName(killerid, killer, sizeof(killer)); new slice = 100; //$100 playercash = GetPlayerMoney(playerid); if(gTeam[killerid] != 2) { WantedPoints[killerid] += 2; } //+ 2 wanted points if(SafeTime[playerid] <= 0) { if(gTeam[killerid] != gTeam[playerid]) { if(GetPlayerState(killerid) == 1) { PlayerInfo[killerid][pKills] = PlayerInfo[killerid][pKills] + 2; } else { PlayerInfo[killerid][pKills]++; } PlayerInfo[playerid][pKills]--; } } /*if (strlen(deathreason) > 0)// patch { if (((gTeam[killerid]) == 1) || ((gTeam[killerid]) == 3 && civnokill) || gTeam[killerid] == gTeam[playerid])//med kill criminal { format(string, sizeof(string), \".: %s murdered %s. (%s) :.\", killer, name, deathreason); } else { format(string, sizeof(string), \".: %s murdered %s. (%s) for $%d :.\", killer, name, deathreason, slice); } } else { if (((gTeam[killerid]) == 1) || ((gTeam[killerid]) == 3 && civnokill || gTeam[killerid] == gTeam[playerid])) { format(string, sizeof(string), \".: %s murdered %s :.\", killer, name); } else { format(string, sizeof(string), \".: %s murdered %s for $%d :.\", killer, name, slice); } }*/ if (((gTeam[killerid]) == 1) || ((gTeam[killerid]) == 3 && civnokill) || (gTeam[killerid] == gTeam[playerid] && gTeam[playerid] != 4)) { slice = 0; } if (((gTeam[killerid]) != 4) && ((gTeam[killerid]) == gTeam[playerid]))//no team kill { slice = 0; } if (playercash > 0) { SafeGivePlayerMoney(playerid, -slice); } else { slice = slice+500; } //SafeGivePlayerMoney(killerid, slice); //GameTextForPlayer(playerid, dmessage, 5000, 2); PlayerPlaySound(killerid, 1083, 0.0, 0.0, 0.0); if (((gTeam[killerid]) == 3) && reason != 49) { //SetPlayerCriminal(killerid,255, \"First Degree Murder\"); } else if (((gTeam[killerid]) == 3) && reason == 49) { //SetPlayerCriminal(killerid,255, \"Hit And Run\"); } } } else if (victimteam == 2) { if(IsPlayerConnected(killerid)) { //new killer[MAX_PLAYER_NAME]; //GetPlayerName(killerid, killer, sizeof(killer)); // Cop kill PlayerInfo[playerid][pKills]--; if (gTeam[killerid] == 2)//cops kill cop { //format(string,128,\".: Officer %s murdered Officer %s (%s) and was sued for $%d :.\",killer,name,deathreason,suecost); PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0); SafeGivePlayerMoney(killerid, -suecost); SafeGivePlayerMoney(playerid, suecost+100);//+100pays hospital bill } else { //format(string,128,\".: %s murdered Officer %s (%s) :.\",killer,name,deathreason); } if (gTeam[killerid] >= 3) { WantedPoints[killerid] += 2; //+ 2 wanted points if(reason != 49) { //SetPlayerCriminal(killerid,255, \"First Degree Murder\"); } else if (reason == 49) { //SetPlayerCriminal(killerid,255, \"Hit And Run\"); } } if(gTeam[killerid] >= 5 && SafeTime[playerid] <= 0) { if(GetPlayerState(killerid) == 1) { PlayerInfo[killerid][pKills] = PlayerInfo[killerid][pKills]+2; } else { PlayerInfo[killerid][pKills]++; } WantedPoints[killerid]+=2; } //BroadCast(COLOR_RED, string); } } else if (victimteam == 3) { if(IsPlayerConnected(killerid)) { //new killer[MAX_PLAYER_NAME]; //GetPlayerName(killerid, killer, sizeof(killer)); // Civ kill if ((gTeam[killerid]) == 2)//cops kill civ { if(WantedLevel[playerid] < 1) { //format(string,128,\".: Officer %s murdered %s (%s) and was sued for $%d :.\",killer,name,deathreason,suecost); PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0); SafeGivePlayerMoney(killerid, -suecost); SafeGivePlayerMoney(playerid, suecost+10);//+100pays hospital bill } } else { //format(string,128,\".: %s murdered %s (%s) :.\",killer,name,deathreason); WantedPoints[killerid] += 2; } if (((gTeam[killerid]) >= 3 || (gTeam[killerid]) == 1) && reason != 49) { //SetPlayerCriminal(killerid,255, \"First Degree Murder\"); } else if (((gTeam[killerid]) >= 3 || (gTeam[killerid]) == 1) && reason == 49) { //SetPlayerCriminal(killerid,255, \"Hit And Run\"); } //BroadCast(COLOR_RED, string); } } else if (victimteam == 1) { if(IsPlayerConnected(killerid)) { //new killer[MAX_PLAYER_NAME]; //GetPlayerName(killerid, killer, sizeof(killer)); // Civ kill if ((gTeam[killerid]) == 2)//cops kill civ { //format(string,128,\".: Officer %s murdered Paramedic %s (%s) and was sued for $%d :.\",killer,name,deathreason,suecost); PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0); SafeGivePlayerMoney(killerid, -suecost); SafeGivePlayerMoney(playerid, suecost+10);//+100pays hospital bill } else if ((gTeam[killerid]) == 1)//med kill civ { //format(string,128,\".: Paramedic %s murdered %s (%s) and was sued for $%d :.\",killer,name,deathreason,suecost); PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0); SafeGivePlayerMoney(killerid, -suecost); SafeGivePlayerMoney(playerid, suecost+10);//+100pays hospital bill } else { //format(string,128,\".: %s murdered %s (%s) :.\",killer,name,deathreason); } if (((gTeam[killerid]) == 4) && reason != 49) { //SetPlayerCriminal(killerid,255, \"First Degree Murder\"); } else if (((gTeam[killerid]) == 3) && reason == 49) { //SetPlayerCriminal(killerid,255, \"Hit And Run\"); } //BroadCast(COLOR_RED, string); } } if (victimteam >= 3 && WantedPoints[playerid] > 0 && killerteam == 2) { SetPlayerFree(playerid,killerid, \"Got Killed\"); } if(Postazas[playerid] != 0) { Postazas[playerid] = 0; DisablePlayerCheckpoint(playerid); } if(Cszallitas[playerid] != 0) { Cszallitas[playerid] = 0; DisablePlayerCheckpoint(playerid); } if(Pszallitas[playerid] != 0) { Pszallitas[playerid] = 0; DisablePlayerCheckpoint(playerid); } if(Halaszas[playerid] != 0) { Halaszas[playerid] = 0; DisablePlayerCheckpoint(playerid); } if(SmugglerWork[playerid] != 0) { SmugglerWork[playerid] = 0; DisablePlayerCheckpoint(playerid); } killerid = INVALID_PLAYER_ID; //SetPlayerColor(playerid,COLOR_GRAD2); return 1; }
Légyszives valaki segítene?
32
« Dátum: 2013. július 09. - 08:43:36 »
//--------------------------[leaderek rendszer]-----------------------------// if(strcmp(cmd, \"/leaderek\", true) == 0) { new count = 0; SendClientMessage(playerid, COLOR_GREEN, \"------------[Online FrakcióLeaderek]------------\"); for(new i = 0; i < GetMaxPlayers(); i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[pLeader] > 0) { new nev[32], mehet = 0; if(PlayerInfo[pLeader] == 1) nev=\"Rendõrség\"; else if(PlayerInfo[pLeader] == 2) nev=\"Tûzoltóság\"; else if(PlayerInfo[pLeader] == 9) nev=\"Rádiótársaság\"; else if(PlayerInfo[pLeader] == 10) nev=\"Taxitársaság\"; else if(PlayerInfo[pLeader] == 17) nev=\"Szerelõtársaság\"; else if(PlayerInfo[pLeader] == 4) nev=\"Országos Mentõszolgálat\"; else if(PlayerInfo[pLeader] == 5) nev=\"Hitgyülekezet\"; else if(PlayerInfo[szervLeader] == 4) nev=\"Katonaság\"; else if(PlayerInfo[szervLeader] == 2) nev=\"Special Weapon And Tactic\"; else mehet=5; if(mehet == 0){ format(string, 64, \"%s: %s\", nev, PlayerName(i)); SendClientMessage(playerid,COLOR_RED, string); count++; } } } } if (count == 0) SendClientMessage(playerid, COLOR_GREY, \"Jelenleg nincs egy leader se online.\"); SendClientMessage(playerid,COLOR_GREEN, \"---------------------------------------------------\"); return 1; } //--------------------------[illegális leaderek rendszer]-----------------------------// if(strcmp(cmd, \"/illegálleaderek\", true) == 0) { new count = 0; SendClientMessage(playerid, COLOR_GREEN, \"------------[Online IllegálFrakcióLeaderek]------------\"); for(new i = 0; i < GetMaxPlayers(); i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[pLeader] > 0) { new nev[32], mehet = 0; if(PlayerInfo[szervLeader] == 1) nev=\"Groove Street Family\"; else if(PlayerInfo[szervLeader] == 2) nev=\"Varrios Los Aztecas\"; else mehet=5; if(mehet == 0){ format(string, 64, \"%s: %s\", nev, PlayerName(i)); SendClientMessage(playerid,COLOR_RED, string); count++; } } } } if (count == 0) SendClientMessage(playerid, COLOR_GREY, \"Jelenleg nincs egy illegális leader se online.\"); SendClientMessage(playerid,COLOR_GREEN, \"---------------------------------------------------\"); return 1; }
33
« Dátum: 2013. július 08. - 20:22:29 »
a pawno hibát jelez ezért leáll
34
« Dátum: 2013. július 08. - 19:49:33 »
Thx Nem jó: C:\\Documents and Settings\\User\\Asztal\\Új mappa (2)\\laspayadas.pwn(41525) : error 017: undefined symbol \"params\" C:\\Documents and Settings\\User\\Asztal\\Új mappa (2)\\laspayadas.pwn(41531) : warning 217: loose indentation C:\\Documents and Settings\\User\\Asztal\\Új mappa (2)\\laspayadas.pwn(41534) : warning 225: unreachable code
35
« Dátum: 2013. július 08. - 18:56:54 »
Egy olyan szkriptet szeretnék kérni ha az illetõt megölik fegyverrel akkor utána azt irja ki hogy meghalt a karaktered ezért uj életet kell kezdened!
36
« Dátum: 2013. július 08. - 17:28:22 »
Amint gépen leszek írok neked egy jobbat.. XD ha azt írja hozzá az azt jelenti hogy a playernek abban a checkpointba kell lennie viszont neki nem az kell...
Dupla hozzászólás automatikusan összefûzve. ( 2013. július 08. - 09:42:11 )
CMD:disarm(playerid,params[]) { new iPlayer; if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, ffffff, \"Hiba nem vagy RCON!\"); if(sscanf(params,\"u\", iPlayer)) return SendClientMessage(playerid, ffffff, \"/disarm <id>\"); if(!IsPlayerConnected(iPlayer)) return SendClientMessage(playerid, ffffff, \"Hiba: Helytelen játékos azonosítót adtál meg!\"); ResetPlayerWeapons(iPlayer); SendClientMessage(playerid, ffffff, \"Sikeresen lefegyverezted!\"); return 1; }
Igen ez jo lenne nekem nem zcmdbe :/
37
« Dátum: 2013. július 07. - 20:12:26 »
ÉN Olyat szeretnék kérni hogy MÁS játékostól vegye el aki a közelemben van!!
38
« Dátum: 2013. július 07. - 20:11:49 »
köszi a válaszokat :Cry2:
39
« Dátum: 2013. július 07. - 20:09:10 »
És elveszi aki közelében van?
40
« Dátum: 2013. július 07. - 19:40:53 »
Szeretnék egy olyan szkriptet kérni amely elveszi a játékostól a fegyvert! köszi!
41
« Dátum: 2013. július 05. - 22:25:10 »
grat ha ott kitörlöm az egészet 1 kocsit se tudok lerakni seho sem lesz 1 kocsi sem
42
« Dátum: 2013. július 05. - 21:37:36 »
persze de csak azokra jo akikre /veh parancsal raktam le de én evvel raktam le: /újkocsi
43
« Dátum: 2013. július 05. - 21:26:53 »
nincs meg
44
« Dátum: 2013. július 05. - 20:31:36 »
Üdv megszeretném kérdezni amit leraktunk kocsikat azokat hogy törlöm ki? vagy hól? Afterlife rpg rõl van szó. nem /vehtöröl
45
« Dátum: 2013. július 03. - 21:48:30 »
Hali szeretnék egy megmotoz filterscriptet kérni! Köszönöm! NEM CODE!!!!
|