Jump to content
  • 0

Problema factiuni


nei

Question

2 answers to this question

Recommended Posts

Pai de exemplu ai o factiune,ii cauti spawn u si adaugi acolo,daca gasesti asa:

[pawn]if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Yakuza  spawn

    {

        SetPlayerToTeamColor(playerid);

SetPlayerPos(playerid,690.9473,-1275.9253,13.5603);

PlayerInfo[playerid][pInt] = 0;

return 1;[/pawn]

Adaugi [pawn]GivePlayerWeapon(playerid, 29, 500);

GivePlayerWeapon(playerid, 30, 500);

GivePlayerWeapon(playerid, 4, 1);

            GivePlayerWeapon(playerid, 46, 1);[/pawn] de exemplu:

[pawn]if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Yakuza  spawn

    {

        SetPlayerToTeamColor(playerid);

SetPlayerPos(playerid,690.9473,-1275.9253,13.5603);

PlayerInfo[playerid][pInt] = 0;

GivePlayerWeapon(playerid, 29, 500);

GivePlayerWeapon(playerid, 30, 500);

GivePlayerWeapon(playerid, 4, 1);

            GivePlayerWeapon(playerid, 46, 1);

return 1;[/pawn]

Unde:

[pawn]GivePlayerWeapon(playerid, id de la arma, nr de gloante);[/pawn]

Link to comment
Share on other sites

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.