13.11.2011, 19:32
Code:
aaaaaaaaa.pwn(56980) : error 001: expected token: ";", but found "-identifier-"
Code:
stock GetPlayerNameM(playerid) { new string[0x3C] GetPlayerName(playerid,string,24); ( essa й a maldita linha kk ) new str[24]; strmid(str,string,0,strlen(string),24); for(new i = 0; i < MAX_PLAYER_NAME; ++i) { if (str[i] == '_') str[i] = ' '; } if(PlayerInfo[playerid][pMaskuse] == 1) { format(string, sizeof(string), "[Mascara %d_68]", PlayerInfo[playerid][pMaskNumber]); strmid(str,string,0,strlen(string),60); } return str; }
Abaixo dessa stock, hб uma bastante semelhante .. Que tem a mesma linha, mas nao da erro, tem algo a ver ?
Code:
stock GetPlayerNameEx(playerid) { new string[24]; GetPlayerName(playerid,string,24); new str[24]; strmid(str,string,0,strlen(string),24); for(new i = 0; i < MAX_PLAYER_NAME; ++i) { if (str[i] == '_') str[i] = ' '; } return str; }
Ajuda ? Valeu, abrass