Need help [Tazer command]
#1

Hello everyone im using my Vortex 2 edit i have forgoten on how to fix my tazer command!
This is the Code

Код:
CMD:tazer(playerid, params[]) {
	if(groupVariables[playerVariables[playerid][pGroup]][gGroupType] == 1 && playerVariables[playerid][pGroup] != 0) {
	    switch(playerVariables[playerid][pTazer]) {
			case 0: {
			    givePlayerValidWeapon(playerid, 22);
			    playerVariables[playerid][pTazer] = 1;
			}
			case 1: {
			    removePlayerWeapon(playerid, 22);
			    playerVariables[playerid][pTazer] = 0;
			}
		}
	}
	return 1;
}
I need it to show a silenced pistol and it needs to when shot to JUST TAZE for some reason it doesnt tazer them sometimes....
Please re-post with new codeing
Reply


Messages In This Thread
Need help [Tazer command] - by Cole_William - 06.03.2012, 02:33

Forum Jump:


Users browsing this thread: 1 Guest(s)