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:
Code:
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;
la care mai adaugi : GivePlayerWeapon(playerid, 29, 999);
si va iesi cam asa:
Code:
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);