03.03.2013, 20:44
Hola que tal este es mi primer tema y tengo un problema con el tazer en el GM de zenon city lo que pasa es que pongo el comando /ta y me dice has cargado tu tazer y me saca la Sd pistol todo bien ahi pero cuando tengo cargado el tazer puedo cambiar a cualquier arma y tazeo con cualquier arma incluso con sniper desde lejos se imaginan ? xD
me gustaria que me ayudaran a que cuando ponga /ta solo me deje la Sd pistol y las otras armas se bloqueen
aca les dejo el comando /ta
pawn Cуdigo:
porfavor ayuda es el unico bug q me falta por arreglar se los agradeceria mucho
me gustaria que me ayudaran a que cuando ponga /ta solo me deje la Sd pistol y las otras armas se bloqueen
aca les dejo el comando /ta
pawn Cуdigo:
Quote:
CMD:ta(playerid, params[]) { if(IsACop(playerid)) { new string[128]; if(pTazer[playerid] == 0) { pTazerReplace[playerid] = Info[playerid][pWeapons][2]; if(Info[playerid][pWeapons][2] != 0) RemovePlayerWeapon(playerid, Info[playerid][pWeapons][2]); format(string, sizeof(string), "* %s carga su tazer.", GetPlayerNameEx(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE); GivePlayerValidWeapon(playerid, 23); pTazer[playerid] = 1; } else { RemovePlayerWeapon(playerid, 23); GivePlayerValidWeapon(playerid, pTazerReplace[playerid]); format(string, sizeof(string), "* %s apaga y guarda su tazer.", GetPlayerNameEx(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE); pTazer[playerid] = 0; } } |