Arme la team GF
Posted: Mon Oct 24, 2011 5:33 am
Cum sa pui arme la spawn
este foarte simplu
1. te duci la: public SetPlayerSpawn(playerid)
2. dai insjos si trebuie sa-ti apara ceva de genu:
si va iesi cam asa:
Pentru id arma dati click aici
este foarte simplu

1. te duci la: public SetPlayerSpawn(playerid)
2. dai insjos si trebuie sa-ti apara ceva de genu:
Code: Select all
if (PlayerInfo[playerid][pMember] == team || PlayerInfo[playerid][pLeader] == team) //nume
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 1869.4221,-2310.8477,13.5469);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;[/b]
la care mai adaugi : [b]GivePlayerWeapon(playerid, 29, 999);
Code: Select all
if (PlayerInfo[playerid][pMember] == team || PlayerInfo[playerid][pLeader] == team) //nume
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 1869.4221,-2310.8477,13.5469);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
GivePlayerWeapon(playerid, id arma, gloante);