GivePlayerWeapon
#1

PHP код:
CMD:lspdset(playeridparams[])
{
    if(
Player[playerid][PlayerFaction] != FACTION_LSPD) return SCM(playerid, -1"Non fai parte di una fazione legale!");
    if(
IsPlayerInRangeOfPoint(playerid51129.0151,-1485.1357,22.7690))
    {
       
Player[playerid][FactionDuty] = 1;
       
GivePlayerWeapon(playerid348100); //Desert Eagle
       
GivePlayerWeapon(playerid356100); // M4
       
GivePlayerWeapon(playerid349100); // Shotgun
       
GivePlayerWeapon(playerid358100); // Sniper
       
GivePlayerWeapon(playerid353100); // Mp5
       
GivePlayerWeapon(playerid3341); //Manganello
    
}
    return 
1;

Hi guys why when i write this cmd in game, that don't give me the weapon...?
Reply


Messages In This Thread
GivePlayerWeapon - by kevi11 - 13.11.2018, 15:05
Re: GivePlayerWeapon - by Tenka - 13.11.2018, 15:08
Re: GivePlayerWeapon - by kevi11 - 13.11.2018, 15:16
Re: GivePlayerWeapon - by NaS - 13.11.2018, 15:17

Forum Jump:


Users browsing this thread: 1 Guest(s)