#1BadWolfMar Dec 29, 2015 11:43 am
BadWolf
Fondator
Cum sa pui arme la spawn
este foarte simplu
1. te duci la: public SetPlayerSpawn(playerid)
2. dai in jos si trebuie sa-ti apara ceva de genu:
este foarte simplu
1. te duci la: public SetPlayerSpawn(playerid)
2. dai in jos si trebuie sa-ti apara ceva de genu:
- Cod:
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);
- Cod:
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);