yonutzz Posted July 20, 2011 Report Share Posted July 20, 2011 vreau sa fac si eu sa pot cumpara 3masini ca numi merge decat sa cumpar una.cum fac? Link to comment Share on other sites More sharing options...
Xcite Posted July 20, 2011 Report Share Posted July 20, 2011 Cauta la enum pInfo , trebuie sa ai pPcarkey mai adaugi pPcarkey2 si pPcarkey3 . Dupaia mergi la OnPlayerLogin , OnPlayerRegister , si la restul unde e si pPcarkey si adaugi la fel cum e pPcarkey si la pPcarkey2 si 3 , doar schimbi cifra , adaugand 2 randuri si schimbi cifra.La if(newstate == PLAYER_STATE_DRIVER) cauti if(PlayerInfo[playerid][pPcarkey] == vehicle) { } si mai adaugi inca 2 randuri asa inainte de else if(PlayerInfo[playerid][pPcarkey2] == vehicle) { } if(PlayerInfo[playerid][pPcarkey3] == vehicle) { } Dupaia mergi la comanda de buy si faci la fel ca mai sus , adaugi 2 randuri inainte de else. Nu stiu daca asa e sistemul tau de masini ... Link to comment Share on other sites More sharing options...
Ph3oNiX Posted July 20, 2011 Report Share Posted July 20, 2011 Probleme GF ? Link to comment Share on other sites More sharing options...
yonutzz Posted July 20, 2011 Author Report Share Posted July 20, 2011 am cautat cum miai zis tu si am gasit tot ce mi-ai spus, dar nu inteleg de ce nu pot sa cumpar mai multe de 1?ca sunt facute in gm sa pot cumpara mai multe. Link to comment Share on other sites More sharing options...
Xcite Posted July 20, 2011 Report Share Posted July 20, 2011 Verifica la comanda de buy , daca sunt puse si pPcarkey2 si 3 Link to comment Share on other sites More sharing options...
yonutzz Posted July 20, 2011 Author Report Share Posted July 20, 2011 uite suntif(PlayerInfo[playerid][pPcarkey] == vehicle) { } if(PlayerInfo[playerid][pPcarkey2] == vehicle) { } if(PlayerInfo[playerid][pPcarkey3] == vehicle) { } else { Link to comment Share on other sites More sharing options...
Question
yonutzz
vreau sa fac si eu sa pot cumpara 3masini ca numi merge decat sa cumpar una.cum fac?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts