SpriTe_ Posted June 10, 2013 Report Share Posted June 10, 2013 Mai devreme am mai facut un topic in care am spus ca rezolv un GM si iata ca mai am 2 erori:[pawn]error 010: invalid function or declarationerror 001: expected token: ";", but found "-identifier-"[/pawn]Si scriptul:[pawn]stock RichPlayerName(playerid) { //aici vin erorile !!! new RichName[32]; GetPlayerName(playerid, RichName, 64); return RichName;}[/pawn]Help me please`! Link to comment Share on other sites More sharing options...
[XSR]NexT Posted June 10, 2013 Report Share Posted June 10, 2013 Cum vreti voi sa invatati daca nici nu incercati? O sa stati mereu sa va ajutam noi ?[pawn]stock RichPlayerName( playerid ){ new RichName[ MAX_PLAYER_NAME ]; GetPlayerName( playerid, RichName, sizeof RichName ); return ( RichName );}[/pawn] Link to comment Share on other sites More sharing options...
SpriTe_ Posted June 10, 2013 Author Report Share Posted June 10, 2013 NexT." post="144963" timestamp="1370848533"]Cum vreti voi sa invatati daca nici nu incercati? O sa stati mereu sa va ajutam noi ?[pawn]stock RichPlayerName( playerid ){ new RichName[ MAX_PLAYER_NAME ]; GetPlayerName( playerid, RichName, sizeof RichName ); return ( RichName );}[/pawn]Si care-i diferenta dintre ce mi-ai dat tu si ce ti-am dat eu? =dNici asa nu merge ! Link to comment Share on other sites More sharing options...
Gireada Posted June 10, 2013 Report Share Posted June 10, 2013 Vezi cu asta GetPlayerName( playerid, RichName, sizeof( RichName )); Link to comment Share on other sites More sharing options...
SpriTe_ Posted June 10, 2013 Author Report Share Posted June 10, 2013 Vezi cu asta GetPlayerName( playerid, RichName, sizeof( RichName ));Tot asa, vezi ca erorile nu mi le da la ceea ce e dupa {, dar la prima linie [pawn]stock RichPlayerName ( playerid )[/pawn]Si erorile:[pawn]error 010: invalid function or declarationerror 001: expected token: ";", but found "-identifier-"[/pawn] Link to comment Share on other sites More sharing options...
Rimmon Posted June 10, 2013 Report Share Posted June 10, 2013 Uite un stock nou facut acum de mine[pawn]stock GetName ( playerid ){ new i [ 24 ] ; GetPlayerName ( playerid , i , 24 ) ; return i ;}[/pawn]Daca si aici iti da erori inseamna ca e de la linia de mai sus ;) Massari e curva mea Link to comment Share on other sites More sharing options...
Question
SpriTe_
Mai devreme am mai facut un topic in care am spus ca rezolv un GM si iata ca mai am 2 erori:
[pawn]
error 010: invalid function or declaration
error 001: expected token: ";", but found "-identifier-"
[/pawn]
Si scriptul:
[pawn]
stock RichPlayerName(playerid) { //aici vin erorile !!!
new RichName[32];
GetPlayerName(playerid, RichName, 64);
return RichName;
}
[/pawn]
Help me please`!
Link to comment
Share on other sites
5 answers to this question
Recommended Posts