06.03.2012, 02:33
Hello everyone im using my Vortex 2 edit i have forgoten on how to fix my tazer command!
This is the Code
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
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;
}
Please re-post with new codeing

