if(strcmp(cmd, \"/sokk\", true) == 0){ if(PlayerInfo[playerid][pJob] == 27 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 4 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][szervLeader] == 4 || PlayerInfo[playerid][szervTag] == 4 || PlayerInfo[playerid][szervLeader] == 2||PlayerInfo[playerid][szervTag] == 2){ if(IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid, COLOR_GRAD2, \"Kocsiban nem tudsz sokkolni!\"); return 1; } new suspect = GetClosestPlayer(playerid); if(IsPlayerConnected(suspect)){ if(OnDuty[playerid] == 1) { if(GetDistanceBetweenPlayers(playerid,suspect) < 5) { if(IsPlayerInAnyVehicle(suspect)) { SendClientMessage(playerid, COLOR_GRAD2, \"A célszemély kocsiban van, szedd ki elõbb!\"); return 1; } //GetPlayerName(suspect, nev, sizeof(nev)); GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(stringx, sizeof(stringx), \"%s lesokkolt 20 másodpercre\", sendername); SendClientMessage(suspect, COLOR_LIGHTBLUE, stringx); format(stringx, sizeof(stringx), \"Sokkoltad %s 20 másodpercre.\", rag(giveplayer,3)); SendClientMessage(playerid, COLOR_LIGHTBLUE, stringx); format(stringx, sizeof(stringx), \"* %s lesokkolja %s.\", sendername ,rag(giveplayer,3)); ProxDetector(30.0, playerid, stringx, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerChatBubble(playerid, \"lesokkolt valakit\", COLOR_PURPLE, 80.0, 10000); GameTextForPlayer(suspect, \"~w~Sokkoltak\", 2500, 3); TogglePlayerControllable(suspect, 0); PlayerCuffed[suspect] = 1; PlayerCuffedTime[suspect] = 30; } else { SendClientMessage(playerid, COLOR_GRAD2, \"Senki sincs a közeledben!\"); return 1; } } else SendClientMessage(playerid,COLOR_GRAD2, \"Nem vagy szolgálatban! /duty\");}}else{SendClientMessage(playerid, COLOR_GRAD2, \"Nem vagy rendõr / mentõs / katona / swat\");} return 1;}
if(strcmp(cmd, \"/sokk\", true) == 0){ if(PlayerInfo[playerid][pJob] == 27 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 4 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][szervLeader] == 4 || PlayerInfo[playerid][szervTag] == 4 || PlayerInfo[playerid][szervLeader] == 2||PlayerInfo[playerid][szervTag] == 2){ if(IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid, COLOR_GRAD2, \"Kocsiban nem tudsz sokkolni!\"); return 1; } new suspect = GetClosestPlayer(playerid); if(IsPlayerConnected(suspect)){ if(OnDuty[playerid] == 1) { if(GetDistanceBetweenPlayers(playerid,suspect) < 5) { if(IsPlayerInAnyVehicle(suspect)) { SendClientMessage(playerid, COLOR_GRAD2, \"A célszemély kocsiban van, szedd ki elõbb!\"); return 1; } //GetPlayerName(suspect, nev, sizeof(nev)); GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(stringx, sizeof(stringx), \"%s lesokkolt 20 másodpercre\", sendername); SendClientMessage(suspect, COLOR_LIGHTBLUE, stringx); format(stringx, sizeof(stringx), \"Sokkoltad %s 20 másodpercre.\", rag(giveplayer,3)); SendClientMessage(playerid, COLOR_LIGHTBLUE, stringx); format(stringx, sizeof(stringx), \"* %s lesokkolja %s.\", sendername ,rag(giveplayer,3)); ProxDetector(30.0, playerid, stringx, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerChatBubble(playerid, \"lesokkolt valakit\", COLOR_PURPLE, 80.0, 10000); GameTextForPlayer(suspect, \"~w~Sokkoltak\", 2500, 3); TogglePlayerControllable(suspect, 0); PlayerCuffed[suspect] = 1; PlayerCuffedTime[suspect] = 30; } else { SendClientMessage(playerid, COLOR_GRAD2, \"Senki sincs a közeledben!\"); return 1; }}else{SendClientMessage(playerid, COLOR_GRAD2, \"Nem vagy rendõr / mentõs / katona / swat\");} return 1;}
C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(2273) : error 004: function \"SafeGivePlayerMoney\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(2375) : error 004: function \"SafeGivePlayerMoney\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(2411) : error 004: function \"SafeResetPlayerWeapons\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(2412) : error 004: function \"SafeGivePlayerWeapon\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(2439) : error 004: function \"SafeResetPlayerWeapons\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3200) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3212) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3216) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3228) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3239) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3243) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3247) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3259) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3263) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3267) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3792) : error 004: function \"SafeGivePlayerMoney\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3798) : error 004: function \"Nevekki\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4398) : error 004: function \"SafeGivePlayerMoney\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4446) : error 004: function \"Nevekki\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4449) : error 004: function \"UpdatePlayerPosition2\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4678) : error 004: function \"Nevekbe\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4682) : error 004: function \"Nevekki\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4705) : error 004: function \"ClearChatbox\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4709) : error 004: function \"ClearChatbox\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4721) : error 004: function \"Nevekki\" is not implementedC:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4722) : error 004: function \"SafeResetPlayerWeapons\" is not implementedCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors.
ez nem 0.3-s kód.. 0.2.2x re van sztem
if(strcmp(cmd, \"/sokk\", true) == 0){ if(PlayerInfo[playerid][pJob] == 27 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 4 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][szervLeader] == 4 || PlayerInfo[playerid][szervTag] == 4 || PlayerInfo[playerid][szervLeader] == 2||PlayerInfo[playerid][szervTag] == 2){ if(IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid, COLOR_GRAD2, \"Kocsiban nem tudsz sokkolni!\"); return 1; } new suspect = GetClosestPlayer(playerid); if(IsPlayerConnected(suspect)){ if(GetDistanceBetweenPlayers(playerid,suspect) < 5) { if(IsPlayerInAnyVehicle(suspect)) { SendClientMessage(playerid, COLOR_GRAD2, \"A célszemély kocsiban van, szedd ki elõbb!\"); return 1; } //GetPlayerName(suspect, nev, sizeof(nev)); GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(stringx, sizeof(stringx), \"%s lesokkolt 20 másodpercre\", sendername); SendClientMessage(suspect, COLOR_LIGHTBLUE, stringx); format(stringx, sizeof(stringx), \"Sokkoltad %s 20 másodpercre.\", rag(giveplayer,3)); SendClientMessage(playerid, COLOR_LIGHTBLUE, stringx); format(stringx, sizeof(stringx), \"* %s lesokkolja %s.\", sendername ,rag(giveplayer,3)); ProxDetector(30.0, playerid, stringx, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerChatBubble(playerid, \"lesokkolt valakit\", COLOR_PURPLE, 80.0, 10000); GameTextForPlayer(suspect, \"~w~Sokkoltak\", 2500, 3); TogglePlayerControllable(suspect, 0); PlayerCuffed[suspect] = 1; PlayerCuffedTime[suspect] = 30; } else { SendClientMessage(playerid, COLOR_GRAD2, \"Senki sincs a közeledben!\"); return 1; }}else{SendClientMessage(playerid, COLOR_GRAD2, \"Nem vagy rendõr / mentõs / katona / swat\");} return 1;}
KÖZÖD???Elég híres a szeró ugyhogy kuss!
if(strcmp(cmd, \"/sokk\", true) == 0){ if(PlayerInfo[playerid][pJob] == 27 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 4 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][szervLeader] == 4 || PlayerInfo[playerid][szervTag] == 4 || PlayerInfo[playerid][szervLeader] == 2||PlayerInfo[playerid][szervTag] == 2){ if(IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid, COLOR_GRAD2, \"Kocsiban nem tudsz sokkolni!\"); return 1; } new suspect = GetClosestPlayer(playerid); if(IsPlayerConnected(suspect)){ if(GetDistanceBetweenPlayers(playerid,suspect) < 5) { if(IsPlayerInAnyVehicle(suspect)) { SendClientMessage(playerid, COLOR_GRAD2, \"A célszemély kocsiban van, szedd ki elõbb!\"); return 1; } //GetPlayerName(suspect, nev, sizeof(nev)); GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(stringx, sizeof(stringx), \"%s lesokkolt 20 másodpercre\", sendername); SendClientMessage(suspect, COLOR_LIGHTBLUE, stringx); format(stringx, sizeof(stringx), \"Sokkoltad %s 20 másodpercre.\", rag(giveplayer,3)); SendClientMessage(playerid, COLOR_LIGHTBLUE, stringx); format(stringx, sizeof(stringx), \"* %s lesokkolja %s.\", sendername ,rag(giveplayer,3)); ProxDetector(30.0, playerid, stringx, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerChatBubble(playerid, \"lesokkolt valakit\", COLOR_PURPLE, 80.0, 10000); GameTextForPlayer(suspect, \"~w~Sokkoltak\", 2500, 3); TogglePlayerControllable(suspect, 0); PlayerCuffed[suspect] = 1; PlayerCuffedTime[suspect] = 30; } else { SendClientMessage(playerid, COLOR_GRAD2, \"Senki sincs a közeledben!\"); return 1; }}else}SendClientMessage(playerid, COLOR_GRAD2, \"Nem vagy rendõr / mentõs / katona / swat\");} return 1;}