01.05.2014, 17:19
Quote:
C:\Users\Jacob\Desktop\Basic RP Script Scratch FIX\gamemodes\U1.pwn(562) : error 017: undefined symbol "Team" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
Код:
CMD:stats(playerid, params[]) { if(IsPlayerConnected(playerid)) { new string[ 128 ], Age = PlayerInfo[ playerid ][ pAge ], Money = GetPlayerCash( playerid ) ; new Sex[20]; if(PlayerInfo[ playerid ][ pSex ] == 1) { Sex = "Male"; } else if(PlayerInfo[ playerid ][ pSex ] == 2) { Sex = "Female"; } SendClientMessage(playerid, COLOR_LIGHTBLUE, "------------------------------------------------------------------------"); format(string, sizeof(string), "Name: %s | Money: %d | Age: %d | Sex: %s | Team: %s | Accent: %d | Skin: %d", RPName(playerid), Money, Age, Sex, Team, Accent, Skin); SendClientMessage(playerid, COLOR_GRAD2, string); } return 1; }