Skripta koju koristim : Extreme RP
Opis problema: ovako meni covjek npr nosi emku ja prebacim na eagle npr i njemu puska dode na ledima ne znam kako se to zove da ukinem jer mi je bezveze ako to neko koristi moze mi reci sta je to
Dio Skripte: //
Slika: http://www.zaslike.com/viewer.php?file=cs2j84x1bm59zmm6llyl.png
[Pomoc] Oruzje na ljudima :S
846
pregleda
10
postova
10. Okt. 2012.
Ne bacajte se, ne pita kako to da radi nego kako da izbriše. Imaš to OnPlayerUpdate.
10. Okt. 2012.
...Sweet... wrote on October 10, 2012, 8:52 pm:
il je ovo sto ti kazu il imas neki hack jer imas hack ste upalis i svim ljdima mos vidjet oruzja..
Godfather
🔥33
Aktivan Član
242 / 250 XP
🌱Početnik(0)
2,228
Postovi:
120
Teme:
Pridružio se:Nov. 2011
🔥33dana
11. Okt. 2012.
Vegas. wrote on October 10, 2012, 8:52 pm:
il je ovo sto ti kazu il imas neki hack jer imas hack ste upalis i svim ljdima mos vidjet oruzja..
Eo ga brate vegas ovo imam pod onplayerupdate
public OnPlayerUpdate(playerid)
{
if(GetTickCount() - armedbody_pTick > 113){
new
weaponid,weaponammo,pArmedWeapon;
pArmedWeapon = GetPlayerWeapon(playerid);
GetPlayerWeaponData(playerid,1,weaponid,weaponammo);
GetPlayerWeaponData(playerid,2,weaponid,weaponammo);
GetPlayerWeaponData(playerid,4,weaponid,weaponammo);
GetPlayerWeaponData(playerid,5,weaponid,weaponammo);
#if ARMEDBODY_USE_HEAVY_WEAPON
GetPlayerWeaponData(playerid,7,weaponid,weaponammo);
#endif
if(weaponid && weaponammo > 0){
if(pArmedWeapon != weaponid){
if(!IsPlayerAttachedObjectSlotUsed(playerid,0)){
SetPlayerAttachedObject(playerid,0,GetWeaponModel(weaponid),1, 0.199999, -0.139999, 0.030000, 0.500007, -115.000000, 0.000000, 1.000000, 1.000000, 1.000000);
}
}
else {
if(IsPlayerAttachedObjectSlotUsed(playerid,0)){
RemovePlayerAttachedObject(playerid,0);
}
}
}
else if(IsPlayerAttachedObjectSlotUsed(playerid,0)){
RemovePlayerAttachedObject(playerid,0);
}
if(weaponid && weaponammo > 0){
if(pArmedWeapon != weaponid){
if(!IsPlayerAttachedObjectSlotUsed(playerid,1)){
SetPlayerAttachedObject(playerid,1,GetWeaponModel(weaponid),8, -0.079999, -0.039999, 0.109999, -90.100006, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000);
}
}
else {
if(IsPlayerAttachedObjectSlotUsed(playerid,1)){
RemovePlayerAttachedObject(playerid,1);
}
}
}
else if(IsPlayerAttachedObjectSlotUsed(playerid,1)){
RemovePlayerAttachedObject(playerid,1);
}
if(weaponid && weaponammo > 0){
if(pArmedWeapon != weaponid){
if(!IsPlayerAttachedObjectSlotUsed(playerid,2)){
SetPlayerAttachedObject(playerid,2,GetWeaponModel(weaponid),7, 0.000000, -0.100000, -0.080000, -95.000000, -10.000000, 0.000000, 1.000000, 1.000000, 1.000000);
}
}
else {
if(IsPlayerAttachedObjectSlotUsed(playerid,2)){
RemovePlayerAttachedObject(playerid,2);
}
}
}
else if(IsPlayerAttachedObjectSlotUsed(playerid,2)){
RemovePlayerAttachedObject(playerid,2);
}
if(weaponid && weaponammo > 0){
if(pArmedWeapon != weaponid){
if(!IsPlayerAttachedObjectSlotUsed(playerid,3)){
SetPlayerAttachedObject(playerid,3,GetWeaponModel(weaponid),1, 0.200000, -0.119999, -0.059999, 0.000000, 206.000000, 0.000000, 1.000000, 1.000000, 1.000000);
}
}
else {
if(IsPlayerAttachedObjectSlotUsed(playerid,3)){
RemovePlayerAttachedObject(playerid,3);
}
}
}
else if(IsPlayerAttachedObjectSlotUsed(playerid,3)){
RemovePlayerAttachedObject(playerid,3);
}
#if ARMEDBODY_USE_HEAVY_WEAPON
if(weaponid && weaponammo > 0){
if(pArmedWeapon != weaponid){
if(!IsPlayerAttachedObjectSlotUsed(playerid,4)){
SetPlayerAttachedObject(playerid,4,GetWeaponModel(weaponid),1,-0.100000, 0.000000, -0.100000, 84.399932, 112.000000, 10.000000, 1.099999, 1.000000, 1.000000);
}
}
else {
if(IsPlayerAttachedObjectSlotUsed(playerid,4)){
RemovePlayerAttachedObject(playerid,4);
}
}
}
else if(IsPlayerAttachedObjectSlotUsed(playerid,4)){
RemovePlayerAttachedObject(playerid,4);
}
#endif
armedbody_pTick = GetTickCount();
}
return true;
}11. Okt. 2012.
Fa®i$™ wrote on October 10, 2012, 8:52 pm:
il je ovo sto ti kazu il imas neki hack jer imas hack ste upalis i svim ljdima mos vidjet oruzja..
Eo ga brate vegas ovo imam pod onplayerupdate
public OnPlayerUpdate(playerid)
{
if(GetTickCount() - armedbody_pTick > 113){
new
weaponid,weaponammo,pArmedWeapon;
pArmedWeapon = GetPlayerWeapon(playerid);
GetPlayerWeaponData(playerid,1,weaponid,weaponammo);
GetPlayerWeaponData(playerid,2,weaponid,weaponammo);
GetPlayerWeaponData(playerid,4,weaponid,weaponammo);
GetPlayerWeaponData(playerid,5,weaponid,weaponammo);
#if ARMEDBODY_USE_HEAVY_WEAPON
GetPlayerWeaponData(playerid,7,weaponid,weaponammo);
#endif
if(weaponid && weaponammo > 0){
if(pArmedWeapon != weaponid){
if(!IsPlayerAttachedObjectSlotUsed(playerid,0)){
SetPlayerAttachedObject(playerid,0,GetWeaponModel(weaponid),1, 0.199999, -0.139999, 0.030000, 0.500007, -115.000000, 0.000000, 1.000000, 1.000000, 1.000000);
}
}
else {
if(IsPlayerAttachedObjectSlotUsed(playerid,0)){
RemovePlayerAttachedObject(playerid,0);
}
}
}
else if(IsPlayerAttachedObjectSlotUsed(playerid,0)){
RemovePlayerAttachedObject(playerid,0);
}
if(weaponid && weaponammo > 0){
if(pArmedWeapon != weaponid){
if(!IsPlayerAttachedObjectSlotUsed(playerid,1)){
SetPlayerAttachedObject(playerid,1,GetWeaponModel(weaponid),8, -0.079999, -0.039999, 0.109999, -90.100006, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000);
}
}
else {
if(IsPlayerAttachedObjectSlotUsed(playerid,1)){
RemovePlayerAttachedObject(playerid,1);
}
}
}
else if(IsPlayerAttachedObjectSlotUsed(playerid,1)){
RemovePlayerAttachedObject(playerid,1);
}
if(weaponid && weaponammo > 0){
if(pArmedWeapon != weaponid){
if(!IsPlayerAttachedObjectSlotUsed(playerid,2)){
SetPlayerAttachedObject(playerid,2,GetWeaponModel(weaponid),7, 0.000000, -0.100000, -0.080000, -95.000000, -10.000000, 0.000000, 1.000000, 1.000000, 1.000000);
}
}
else {
if(IsPlayerAttachedObjectSlotUsed(playerid,2)){
RemovePlayerAttachedObject(playerid,2);
}
}
}
else if(IsPlayerAttachedObjectSlotUsed(playerid,2)){
RemovePlayerAttachedObject(playerid,2);
}
if(weaponid && weaponammo > 0){
if(pArmedWeapon != weaponid){
if(!IsPlayerAttachedObjectSlotUsed(playerid,3)){
SetPlayerAttachedObject(playerid,3,GetWeaponModel(weaponid),1, 0.200000, -0.119999, -0.059999, 0.000000, 206.000000, 0.000000, 1.000000, 1.000000, 1.000000);
}
}
else {
if(IsPlayerAttachedObjectSlotUsed(playerid,3)){
RemovePlayerAttachedObject(playerid,3);
}
}
}
else if(IsPlayerAttachedObjectSlotUsed(playerid,3)){
RemovePlayerAttachedObject(playerid,3);
}
#if ARMEDBODY_USE_HEAVY_WEAPON
if(weaponid && weaponammo > 0){
if(pArmedWeapon != weaponid){
if(!IsPlayerAttachedObjectSlotUsed(playerid,4)){
SetPlayerAttachedObject(playerid,4,GetWeaponModel(weaponid),1,-0.100000, 0.000000, -0.100000, 84.399932, 112.000000, 10.000000, 1.099999, 1.000000, 1.000000);
}
}
else {
if(IsPlayerAttachedObjectSlotUsed(playerid,4)){
RemovePlayerAttachedObject(playerid,4);
}
}
}
else if(IsPlayerAttachedObjectSlotUsed(playerid,4)){
RemovePlayerAttachedObject(playerid,4);
}
#endif
armedbody_pTick = GetTickCount();
}
return true;
}Izbriši ga.
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava
