05.03.2018, 16:31
Quote:
PHP код:
|
Код:
stock GetPlayerTeamName(playerid); { new team; team = GetPlayerTeam(playerid); if(team == TEAM_USA) return "United States"; if(team == TEAM_CANADA) return "Canada"; if(team == TEAM_BRITAIN) return "Britain"; if(team == TEAM_AUSTRALIA) return "Australia"; if(team == TEAM_RUSSIA) return "Russia"; if(team == TEAM_GERMANY) return "Germany"; if(team == TEAM_ITALY) return "Italy"; if(team == TEAM_FRANCE) return "France"; if(team == TEAM_CHINA) return "China"; if(team == TEAM_INDIA) return "India"; }
Код:
C:\Users\keega\OneDrive\Desktop\SAMP server\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(430) : warning 201: redefinition of constant/macro (symbol "isnull(%1)") C:\Users\keega\OneDrive\Desktop\SAMP server\pawno\include\mGates.inc(346) : warning 213: tag mismatch C:\Users\keega\OneDrive\Desktop\SAMP server\pawno\include\mGates.inc(378) : warning 213: tag mismatch C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(103) : warning 213: tag mismatch C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(104) : warning 213: tag mismatch C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(567) : error 004: function "GetPlayerTeamName" is not implemented C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(746) : warning 219: local variable "team" shadows a variable at a preceding level C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(843) : error 055: start of function body without function header C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(845) : error 010: invalid function or declaration C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(846) : error 010: invalid function or declaration C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(847) : error 010: invalid function or declaration C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(848) : error 010: invalid function or declaration C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(849) : error 010: invalid function or declaration C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(850) : error 010: invalid function or declaration C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(851) : error 010: invalid function or declaration C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(852) : error 010: invalid function or declaration C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(853) : error 010: invalid function or declaration C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(854) : error 010: invalid function or declaration C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(855) : error 010: invalid function or declaration C:\Users\keega\OneDrive\Desktop\SAMP server\gamemodes\maude1.pwn(857) : warning 203: symbol is never used: "team" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 13 Errors.