No Switching
#1

Woud there be a possible script to completly disable switching?(reload with swiching disabled included)
Thinking about that the reloading animation by the sawn-off shotgun coudnt be canceled at all....
Greetings Mr ODB
Reply
#2

just made this and it worked

Код:
CMD:dz(playerid,params[])
{
	SetPVarInt(playerid,"reloadtimer",SetTimer("giveammo",100,1));
	return 1;
}
CMD:da(playerid,params[])
{
	KillTimer(GetPVarInt(playerid,"reloadtimer"));
	return 1;
}
forward giveammo();
public giveammo()
{
	GivePlayerWeapon(0,26,75);
}
it'll keep toggling back to sawn offs though, but I think you could stop it using OnPlayerKeyStateChange
Reply
#3

hmm ill try it out thx, but if some1 has something that he thinks its better post it
Reply
#4

...
Reply
#5

ehm quick guide where i shoud put it pplease?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)