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 Код:
GivePlayerWeapon(playerid, 31 1000);//Give player M4
Reply
#3

where to put it
Reply
#4

Quote:
Originally Posted by boyan96
Посмотреть сообщение
where to put it
pawn Код:
public OnPlayerSpawn(playerid)
Or make a cmd:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
     if(!strcmp(cmdtext, "/m4"))
     {
        GivePlayerWeapon(playerid, 31 1000);//Give player M4
        return 1;
     }
     return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)