Put the weapon which is in your hands in your back[+REP]
#1

Hello, I want the CMD to put the weapon in my hand like m4, sniper in my back

I wand the cmd to be

/ps back
To store the gun in ur back

/pt back
To get the gun from ur back to your hand

Thanks!

+REP btw
Reply
#2

Links are not working.
Reply
#3

Attach objects(weapons) to your back when you are unarmed , when armed delete player object (weapon);
Reply
#4

Can you transfer this codes to ZCMD?
Код:
	new cmd[128];
	new idx;
	cmd = strtok(cmdtext, idx);
	if (!strcmp(cmd, "/holder", true))
	{
	    cmd = strtok(cmdtext, idx);
	    new model = strval(cmd);
		SetHolderWeapon(playerid, model);
		return 1;
	}
	if (!strcmp(cmd, "/remove", true))
	{
		RemoveHolderWeapon(playerid);
	    return 1;
	}
	return 0;
}
Reply
#5

Also, I need someone to give me codes to put them in the .pwn

Thanks!
Reply
#6

None helped me yet
I'll give, it's a promise.
Reply
#7

I get this error
Код:
C:\Users\Mido\Desktop\HSRP\gamemodes\HSRP.pwn(28399) : error 035: argument type mismatch (argument 2)
Line 28399
Код:
    SetHolderWeapon(playerid, params);
Reply
#8

Someone help ?
Reply
#9

I swear, someone help..
Reply
#10

Someone help me in that guys.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)