The Goodfater modba van a rendör és igazoltat de hogy igazoltasson mikorr csak az engedélyeket tudja elkérniezért szeretnék egy seerpg-hez hasonló /személyi parancsot/személy [játékos/id]és akkor a neve a kora és a származása lesgyen ottköszi
if(strcmp(cmd, \"/sid\", true) == 0) || !strcmp(cmdtext, \"/személyi\", true)){ if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, \" Nem vagy bejelentkezve!\"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, \"HINT: /sid [playerid/PartOfName]\"); return 1; } giveplayerid = ReturnUser(tmp); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(ProxDetectorS(8.0, playerid, giveplayerid)) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), \" Megmutattad az adataidat %s -nak.\", giveplayer); SendClientMessage(playerid, COLOR_WHITE, string); SendClientMessage(giveplayerid, COLOR_GREEN, \"_______________________\"); format(string, sizeof(string), \" Név: %s Kor: %d\", sendername, PlayerInfo[playerid][pAge]); SendClientMessage(giveplayerid, COLOR_WHITE, string); format(string, sizeof(string), \" Tel.szám: %d\", PlayerInfo[playerid][pPnumber]); SendClientMessage(giveplayerid, COLOR_WHITE, string); SendClientMessage(giveplayerid, COLOR_GREEN, \"_______________________\"); format(string, sizeof(string), \" %s megmutatta neked az adatait.\", sendername); SendClientMessage(giveplayerid, COLOR_WHITE, string); return 1; }
baj van vele mert ezt irta ki:C:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1831) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1835) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1847) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1851) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1855) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1859) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1863) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1867) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1871) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1883) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1887) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1891) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1895) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1899) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1911) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1915) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1919) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1931) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(1935) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(3843) : error 004: function \"CrimInRange\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(4061) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(4668) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(4745) : error 004: function \"ProxDetector\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(5352) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(5358) : error 004: function \"PlayerToPoint\" is not implementedC:\\Users\\dav95\\Desktop\\The_Godfather[1]\\The Godfather\\Másolat (2) - gamemode\\RP.pwn(5364) : error 004: function \"PlayerToPoint\" is not implemented
if(strcmp(cmd, \"/sid\", true) == 0 || !strcmp(cmdtext, \"/személyi\", true)){ if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, \" Nem vagy bejelentkezve!\"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, \"HINT: /sid [playerid/PartOfName]\"); return 1; } giveplayerid = ReturnUser(tmp); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(ProxDetectorS(8.0, playerid, giveplayerid)) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), \" Megmutattad az adataidat %s -nak.\", giveplayer); SendClientMessage(playerid, COLOR_WHITE, string); SendClientMessage(giveplayerid, COLOR_GREEN, \"_______________________\"); format(string, sizeof(string), \" Név: %s Kor: %d\", sendername, PlayerInfo[playerid][pAge]); SendClientMessage(giveplayerid, COLOR_WHITE, string); format(string, sizeof(string), \" Tel.szám: %d\", PlayerInfo[playerid][pPnumber]); SendClientMessage(giveplayerid, COLOR_WHITE, string); SendClientMessage(giveplayerid, COLOR_GREEN, \"_______________________\"); format(string, sizeof(string), \" %s megmutatta neked az adatait.\", sendername); SendClientMessage(giveplayerid, COLOR_WHITE, string); return 1; } } } } }
//----------------------------------------Személyi----------------------------------------------------if(strcmp(cmd,\"/showic\",true)==0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, \"Használat: /showic [Játékosid/névrészlet]\"); return 1; } giveplayerid = ReturnUser(tmp); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if (ProxDetectorS(8.0, playerid, giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); SendClientMessage(giveplayerid,COLOR_RED,\"__________Személyi igazolvány__________\"); format(string, sizeof(string), \"** Név: %s\", sendername); SendClientMessage(giveplayerid, COLOR_GREEN, string); format(string, sizeof(string), \"** Kor: %d\", PlayerInfo[playerid][pAge]); SendClientMessage(giveplayerid, COLOR_GREEN, string); if(PlayerInfo[giveplayerid][pSex] == 1) { format(string, sizeof(string), \"** Nem: Férfi\"); SendClientMessage(giveplayerid, COLOR_GREEN, string); } else if(PlayerInfo[playerid][pSex] == 2) { format(string, sizeof(string), \"** Nem: No\"); SendClientMessage(giveplayerid, COLOR_GREEN, string); } if(PlayerInfo[playerid][pOrigin] == 1) { format(string, sizeof(string), \"** Származás: USA\"); SendClientMessage(giveplayerid, COLOR_GREEN, string); } if(PlayerInfo[playerid][pOrigin] == 2) { format(string, sizeof(string), \"** Származás: Europe\"); SendClientMessage(giveplayerid, COLOR_GREEN, string); } if(PlayerInfo[playerid][pOrigin] == 3) { format(string, sizeof(string), \"** Származás: Asia.\"); SendClientMessage(giveplayerid, COLOR_GREEN, string); } format(string, sizeof(string), \"** Házszám: %d\", PlayerInfo[playerid][pPhousekey]); SendClientMessage(giveplayerid, COLOR_GREEN, string); SendClientMessage(giveplayerid,COLOR_RED,\"________________________________\"); format(string, sizeof(string), \"* Megmutattad a személyi igazolványod neki: %s.\", giveplayer); SendClientMessage(giveplayerid,COLOR_RED,\"________________________________\"); format(string,sizeof(string), \"* %s elovette a személyijét és oda adta neki: %s.\", sendername, giveplayer); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SendClientMessage(playerid, COLOR_GREY, \" A játékos nincs a közeledben !\"); return 1; } } } else { SendClientMessage(playerid, COLOR_GREY, \" A játékos nincs fenn a szerveren !\"); return 1; }} return 1;}//-------------------------------------------------------------------------------------------------------------------------------------------------------------