Jump to content

Question

Posted

Am codul acesta

[pawn]if(gTeam[playerid] == 11 && PlayerInfo[playerid][pLeader] < 1)

{

    MedicBill[playerid] = 0;

    new rand = random(sizeof(CIV));

SendClientMessage(playerid, COLOR_LIGHTRED, "Tu nu esti un Lider , Tu vei primi skin de Civil !");

PlayerInfo[playerid][pTeam] = 3;

gTeam[playerid] = 3;

SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0);

PlayerInfo[playerid][pModel] = CIV[rand];

SpawnPlayer(playerid);

}[/pawn]

Si l-am inlocuit cu acesta

[pawn]if(gTeam[playerid] == 15 && PlayerInfo[playerid][pLeader] < 1)

{

    MedicBill[playerid] = 0;

    new rand = random(sizeof(CIV));

SendClientMessage(playerid, COLOR_LIGHTRED, "Tu nu esti un Lider , Tu vei primi skin de Civil !");

PlayerInfo[playerid][pTeam] = 3;

gTeam[playerid] = 3;

SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0);

PlayerInfo[playerid][pModel] = CIV[rand];

SpawnPlayer(playerid);

}[/pawn]

Primu merge adica : Nu te lasa sa iei primele 11 skinuri de leader :)

Al doilea nu merge : Te lasa sa iei toate skinurile inclusiv alea de Leader

Ceva?

5 answers to this question

Recommended Posts

Posted

Problema este ca :

Daca schimb 11 din codul acesta

[pawn]if(gTeam[playerid] == 11 && PlayerInfo[playerid][pLeader] < 1)[/pawn]

Cu 15 . Nu functioneaza 15 reprezentand numarul de factiuni

Daca ramane pe 11 Functioneaza ( Nu ii lasa pe civili/membri fact sa ia skin lider )

Daca pun 15 Nu fuctioneaza(Ii lasa pe civili/membri fact sa ia skin lider )

Posted

Am Toate cele 15 Factiuni definite :

1. PD

2. FBI

3. NG

4. Medics

5. The Mafia

6. The Triads

7. Mayor

8. Hitmans

9. Nuj ce mai e aici

10. Taxi

11. License

12. VLA

13. Ballas

14. Grove

15. LSV

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.