Weapon spawner FAST HELP
#1

hello i have a promlem
how i can make when player connet to give him sawn-noff
i make it like this didn't work
Код:
public OnPlayerConnect(playerid)
{
GivePlayerWeapon(playerid, 26,10000000);
	return 1;
}
and this don't work
Код:
public OnPlayerSpawn(playerid)
{
GivePlayerWeapon(playerid, 26,10000000);
	return 1;
}
how to make it please help me
Reply
#2

pawn Код:
//Into your OnGameModeInit
AddPlayerClass(SKIN_ID, X, Y, Z, ANGLE, 26, 1000000, 0, 0, 0, 0);
Reply
#3

didn't work
Reply
#4

pawn Код:
forward GW(playerid);
public GW(playerid) {
    GivePlayerWeapon(playerid, 26, 1000000);
}
//Into your OnPlayerSpawn
SetTimerEx("GW",false,250,"d",playerid);
Reply
#5

thank you man very-much
Can you say me what to remove from my gamemode because my player have only weapon i the hand
Reply
#6

try this

Код:
SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 999)
NOT TESTED!!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)