Jump to content

Arme la spawnul factiunilor


RuSke

Recommended Posts

-Din acest tutorial veti avea arme la spawn oricarre factiune doriti

Dati search(CTRL+F) la:

if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)//Triads spawn

{

SetPlayerToTeamColor(playerid);

SetPlayerFacingAngle(playerid, 180);

SetPlayerInterior(playerid,0);

SetPlayerPos(playerid,-2200.8950,646.8164,49.4375);

PlayerInfo[playerid][pInt] = 0;

return 1;

}

http://wiki.sa-mp.com/wiki/Weapons De aici puteti lua id armelor

Dupa care va iesi:

if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)//Triads spawn

{

SetPlayerToTeamColor(playerid);

SetPlayerFacingAngle(playerid, 180);

SetPlayerInterior(playerid,0);

SetPlayerPos(playerid,-2200.8950,646.8164,49.4375);

                        GivePlayerWeapon(playerid, 24, 100);

GivePlayerWeapon(playerid, 26, 100);

PlayerInfo[playerid][pInt] = 0;

return 1;

}

Sub linia SetPlayerPos(playerid, 1102.7017,-299.0774,73.9922); adaugati GivePlayerWeapon(playerid, 26[iD arme], 100[ glaonte]);

PS: Eu doar am facut exemplu factiunei Triads voi puteti face la orice factiune

HostName: [~Romania~]*StyleClub Role-Play România

Address:  89.35.18.11:7777

Mode:     RolePlay v4.8G

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.