Jump to content

Question

5 answers to this question

Recommended Posts

Posted

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 ...

Posted

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.

Posted

uite sunt

if(PlayerInfo[playerid][pPcarkey] == vehicle) { }

    if(PlayerInfo[playerid][pPcarkey2] == vehicle) { }

    if(PlayerInfo[playerid][pPcarkey3] == vehicle) { }

else

{

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.