10.05.2009, 12:23
Код:
if(strcmp(cmd, "/pilotduty", true) == 0) { if(IsPlayerConnected(playerid)) { GetPlayerName(playerid, sendername, sizeof(sendername)); if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22) { if (PlayerToPoint(3, playerid,255.3,77.4,1003.6) || PlayerToPoint(3,playerid,297.5758,186.0063,1007.1719) || PlayerInfo[playerid][pLocal] != 255) { if(OnDuty[playerid]==0) { format(string, sizeof(string), "* Airport Guard %s took his Badge and Guns from his locker.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SafeGivePlayerWeapon(playerid, 41, 65000); SafeGivePlayerWeapon(playerid, 24, 65000); SafeGivePlayerWeapon(playerid, 3, 0); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); OnDuty[playerid] = 1; } else if(OnDuty[playerid]==1) { format(string, sizeof(string), "* Airport Guard %s places his Badge and Guns in his locker.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SafeResetPlayerWeapons(playerid); SetPlayerArmour(playerid, 0); SetPlayerHealth(playerid, 100); SafeGivePlayerWeapon(playerid, 24, 65000); OnDuty[playerid] = 0; } } else { SendClientMessage(playerid, COLOR_GRAD2, "You arent in the LSPD Locker room / FBI Front Desk !"); return 1; } }
Код:
C:\Users\Zak\Desktop\larp.pwn(2172) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Users\Zak\Desktop\larp.pwn(2201) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Users\Zak\Desktop\larp.pwn(2237) : error 004: function "SafeResetPlayerWeapons" is not implemented C:\Users\Zak\Desktop\larp.pwn(2238) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\Users\Zak\Desktop\larp.pwn(2239) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\Users\Zak\Desktop\larp.pwn(2266) : error 004: function "SafeResetPlayerWeapons" is not implemented C:\Users\Zak\Desktop\larp.pwn(2674) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2685) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2697) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2701) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2713) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2717) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2721) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2725) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2729) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2733) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2737) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2741) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2753) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2757) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2761) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2765) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2769) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2781) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2785) : error 004: function "PlayerToPoint" is not implemented C:\Users\Zak\Desktop\larp.pwn(2789) : error 004: function "PlayerToPoint" is not implemented