Mine sisusse
Otsi siit
  • Rohkem valikuid...
Otsi tulemusi mis sisaldab...
Otsi tulemusi...

Auto reload ja Multijump plugin.

Soovitatud postitused

Ei tea kas vastab Sinu soovidele, aga loodame.

 

[color=#000000][color=#FF8000]#include 
#include 

#define VERSION "0.0.1" 

[/color][color=#0000BB]enum 
[/color][color=#007700]{ 
   [/color][color=#0000BB]AmmoX_AmmoID [/color][color=#007700]= [/color][color=#0000BB]1[/color][color=#007700], 
   [/color][color=#0000BB]AmmoX_Ammount 
[/color][color=#007700]} 

[/color][color=#0000BB]enum 
[/color][color=#007700]{ 
   [/color][color=#0000BB]ammo_none[/color][color=#007700], 
   [/color][color=#0000BB]ammo_338magnum [/color][color=#007700]= [/color][color=#0000BB]1[/color][color=#007700], [/color][color=#FF8000]// 30 
   [/color][color=#0000BB]ammo_762nato[/color][color=#007700], [/color][color=#FF8000]// 90 
   [/color][color=#0000BB]ammo_556natobox[/color][color=#007700], [/color][color=#FF8000]// 200 
   [/color][color=#0000BB]ammo_556nato[/color][color=#007700], [/color][color=#FF8000]// 90 
   [/color][color=#0000BB]ammo_buckshot[/color][color=#007700], [/color][color=#FF8000]// 32 
   [/color][color=#0000BB]ammo_45acp[/color][color=#007700], [/color][color=#FF8000]// 100            // mac10 ump45 usp  
   [/color][color=#0000BB]ammo_57mm[/color][color=#007700], [/color][color=#FF8000]// 100 
   [/color][color=#0000BB]ammo_50ae[/color][color=#007700], [/color][color=#FF8000]// 35 
   [/color][color=#0000BB]ammo_357sig[/color][color=#007700], [/color][color=#FF8000]// 52 
   [/color][color=#0000BB]ammo_9mm[/color][color=#007700], [/color][color=#FF8000]// 120            // elite glock18 mp5navy tmp 
   [/color][color=#0000BB]ammo_flashbang[/color][color=#007700], [/color][color=#FF8000]// 2 
   [/color][color=#0000BB]ammo_hegrenade[/color][color=#007700], [/color][color=#FF8000]// 1 
   [/color][color=#0000BB]ammo_smokegrenade[/color][color=#007700], [/color][color=#FF8000]// 1 
   [/color][color=#0000BB]ammo_c4 [/color][color=#FF8000]// 1 
[/color][color=#007700]} 

new const [/color][color=#0000BB]g_iMaxBpAmmo[/color][color=#007700][] = { 
   [/color][color=#0000BB]0[/color][color=#007700], 
   [/color][color=#0000BB]30[/color][color=#007700], 
   [/color][color=#0000BB]90[/color][color=#007700], 
   [/color][color=#0000BB]200[/color][color=#007700], 
   [/color][color=#0000BB]90[/color][color=#007700], 
   [/color][color=#0000BB]32[/color][color=#007700], 
   [/color][color=#0000BB]100[/color][color=#007700], 
   [/color][color=#0000BB]100[/color][color=#007700], 
   [/color][color=#0000BB]35[/color][color=#007700], 
   [/color][color=#0000BB]52[/color][color=#007700], 
   [/color][color=#0000BB]120[/color][color=#007700], 
   [/color][color=#0000BB]2[/color][color=#007700], 
   [/color][color=#0000BB]1[/color][color=#007700], 
   [/color][color=#0000BB]1[/color][color=#007700], 
   [/color][color=#0000BB]1 
[/color][color=#007700]} 

new const [/color][color=#0000BB]m_rgpPlayerItems[/color][color=#007700][[/color][color=#0000BB]32[/color][color=#007700]] = {[/color][color=#0000BB]376[/color][color=#007700],[/color][color=#0000BB]377[/color][color=#007700],...} 

const [/color][color=#0000BB]INFINITE_RELOAD_BITSUM [/color][color=#007700]= [/color][color=#0000BB]1[/color][color=#007700]
[/color][color=#007700]public [/color][color=#0000BB]plugin_init[/color][color=#007700]() 
{ 
   [/color][color=#0000BB]register_plugin[/color][color=#007700]([/color][color=#DD0000]"Paintball Infinite BpAmmo"[/color][color=#007700], [/color][color=#0000BB]VERSION[/color][color=#007700], [/color][color=#DD0000]"ConnorMcLeod"[/color][color=#007700]) 
   [/color][color=#0000BB]register_message[/color][color=#007700]([/color][color=#0000BB]get_user_msgid[/color][color=#007700]([/color][color=#DD0000]"AmmoX"[/color][color=#007700]), [/color][color=#DD0000]"Message_AmmoX"[/color][color=#007700]) 
} 

public [/color][color=#0000BB]Message_AmmoX[/color][color=#007700]([/color][color=#0000BB]iMsgId[/color][color=#007700], [/color][color=#0000BB]iMsgDest[/color][color=#007700], [/color][color=#0000BB]id[/color][color=#007700]) 
{ 
   new [/color][color=#0000BB]iAmmoID [/color][color=#007700]= [/color][color=#0000BB]get_msg_arg_int[/color][color=#007700]([/color][color=#0000BB]AmmoX_AmmoID[/color][color=#007700]) 

   if( [/color][color=#0000BB]is_user_alive[/color][color=#007700]([/color][color=#0000BB]id[/color][color=#007700]) && [/color][color=#0000BB]iAmmoID [/color][color=#007700]) 
   { 
       new [/color][color=#0000BB]iMaxBpAmmo [/color][color=#007700]= [/color][color=#0000BB]g_iMaxBpAmmo[/color][color=#007700][[/color][color=#0000BB]iAmmoID[/color][color=#007700]] 
       if( [/color][color=#0000BB]get_msg_arg_int[/color][color=#007700]([/color][color=#0000BB]AmmoX_Ammount[/color][color=#007700])         { 
           [/color][color=#0000BB]set_msg_arg_int[/color][color=#007700]([/color][color=#0000BB]AmmoX_Ammount[/color][color=#007700], [/color][color=#0000BB]ARG_BYTE[/color][color=#007700], [/color][color=#0000BB]iMaxBpAmmo[/color][color=#007700]) 
           [/color][color=#0000BB]set_pdata_int[/color][color=#007700]([/color][color=#0000BB]id[/color][color=#007700], [/color][color=#0000BB]m_rgpPlayerItems[/color][color=#007700][[/color][color=#0000BB]iAmmoID[/color][color=#007700], [/color][color=#0000BB]iMaxBpAmmo[/color][color=#007700], [/color][color=#0000BB]XO_PLAYER[/color][color=#007700]) 
       } 
   } 
} 
[/color][/color]

Jaga seda postitust


Postituse link
Share on other sites
Author of the topic Postitas
Ei tea kas vastab Sinu soovidele, aga loodame.

 

[color=#000000][color=#FF8000]#include 
#include 

#define VERSION "0.0.1" 

[/color][color=#0000BB]enum 
[/color][color=#007700]{ 
   [/color][color=#0000BB]AmmoX_AmmoID [/color][color=#007700]= [/color][color=#0000BB]1[/color][color=#007700], 
   [/color][color=#0000BB]AmmoX_Ammount 
[/color][color=#007700]} 

[/color][color=#0000BB]enum 
[/color][color=#007700]{ 
   [/color][color=#0000BB]ammo_none[/color][color=#007700], 
   [/color][color=#0000BB]ammo_338magnum [/color][color=#007700]= [/color][color=#0000BB]1[/color][color=#007700], [/color][color=#FF8000]// 30 
   [/color][color=#0000BB]ammo_762nato[/color][color=#007700], [/color][color=#FF8000]// 90 
   [/color][color=#0000BB]ammo_556natobox[/color][color=#007700], [/color][color=#FF8000]// 200 
   [/color][color=#0000BB]ammo_556nato[/color][color=#007700], [/color][color=#FF8000]// 90 
   [/color][color=#0000BB]ammo_buckshot[/color][color=#007700], [/color][color=#FF8000]// 32 
   [/color][color=#0000BB]ammo_45acp[/color][color=#007700], [/color][color=#FF8000]// 100            // mac10 ump45 usp  
   [/color][color=#0000BB]ammo_57mm[/color][color=#007700], [/color][color=#FF8000]// 100 
   [/color][color=#0000BB]ammo_50ae[/color][color=#007700], [/color][color=#FF8000]// 35 
   [/color][color=#0000BB]ammo_357sig[/color][color=#007700], [/color][color=#FF8000]// 52 
   [/color][color=#0000BB]ammo_9mm[/color][color=#007700], [/color][color=#FF8000]// 120            // elite glock18 mp5navy tmp 
   [/color][color=#0000BB]ammo_flashbang[/color][color=#007700], [/color][color=#FF8000]// 2 
   [/color][color=#0000BB]ammo_hegrenade[/color][color=#007700], [/color][color=#FF8000]// 1 
   [/color][color=#0000BB]ammo_smokegrenade[/color][color=#007700], [/color][color=#FF8000]// 1 
   [/color][color=#0000BB]ammo_c4 [/color][color=#FF8000]// 1 
[/color][color=#007700]} 

new const [/color][color=#0000BB]g_iMaxBpAmmo[/color][color=#007700][] = { 
   [/color][color=#0000BB]0[/color][color=#007700], 
   [/color][color=#0000BB]30[/color][color=#007700], 
   [/color][color=#0000BB]90[/color][color=#007700], 
   [/color][color=#0000BB]200[/color][color=#007700], 
   [/color][color=#0000BB]90[/color][color=#007700], 
   [/color][color=#0000BB]32[/color][color=#007700], 
   [/color][color=#0000BB]100[/color][color=#007700], 
   [/color][color=#0000BB]100[/color][color=#007700], 
   [/color][color=#0000BB]35[/color][color=#007700], 
   [/color][color=#0000BB]52[/color][color=#007700], 
   [/color][color=#0000BB]120[/color][color=#007700], 
   [/color][color=#0000BB]2[/color][color=#007700], 
   [/color][color=#0000BB]1[/color][color=#007700], 
   [/color][color=#0000BB]1[/color][color=#007700], 
   [/color][color=#0000BB]1 
[/color][color=#007700]} 

new const [/color][color=#0000BB]m_rgpPlayerItems[/color][color=#007700][[/color][color=#0000BB]32[/color][color=#007700]] = {[/color][color=#0000BB]376[/color][color=#007700],[/color][color=#0000BB]377[/color][color=#007700],...} 

const [/color][color=#0000BB]INFINITE_RELOAD_BITSUM [/color][color=#007700]= [/color][color=#0000BB]1[/color][color=#007700]
[/color][color=#007700]public [/color][color=#0000BB]plugin_init[/color][color=#007700]() 
{ 
   [/color][color=#0000BB]register_plugin[/color][color=#007700]([/color][color=#DD0000]"Paintball Infinite BpAmmo"[/color][color=#007700], [/color][color=#0000BB]VERSION[/color][color=#007700], [/color][color=#DD0000]"ConnorMcLeod"[/color][color=#007700]) 
   [/color][color=#0000BB]register_message[/color][color=#007700]([/color][color=#0000BB]get_user_msgid[/color][color=#007700]([/color][color=#DD0000]"AmmoX"[/color][color=#007700]), [/color][color=#DD0000]"Message_AmmoX"[/color][color=#007700]) 
} 

public [/color][color=#0000BB]Message_AmmoX[/color][color=#007700]([/color][color=#0000BB]iMsgId[/color][color=#007700], [/color][color=#0000BB]iMsgDest[/color][color=#007700], [/color][color=#0000BB]id[/color][color=#007700]) 
{ 
   new [/color][color=#0000BB]iAmmoID [/color][color=#007700]= [/color][color=#0000BB]get_msg_arg_int[/color][color=#007700]([/color][color=#0000BB]AmmoX_AmmoID[/color][color=#007700]) 

   if( [/color][color=#0000BB]is_user_alive[/color][color=#007700]([/color][color=#0000BB]id[/color][color=#007700]) && [/color][color=#0000BB]iAmmoID [/color][color=#007700]) 
   { 
       new [/color][color=#0000BB]iMaxBpAmmo [/color][color=#007700]= [/color][color=#0000BB]g_iMaxBpAmmo[/color][color=#007700][[/color][color=#0000BB]iAmmoID[/color][color=#007700]] 
       if( [/color][color=#0000BB]get_msg_arg_int[/color][color=#007700]([/color][color=#0000BB]AmmoX_Ammount[/color][color=#007700])         { 
           [/color][color=#0000BB]set_msg_arg_int[/color][color=#007700]([/color][color=#0000BB]AmmoX_Ammount[/color][color=#007700], [/color][color=#0000BB]ARG_BYTE[/color][color=#007700], [/color][color=#0000BB]iMaxBpAmmo[/color][color=#007700]) 
           [/color][color=#0000BB]set_pdata_int[/color][color=#007700]([/color][color=#0000BB]id[/color][color=#007700], [/color][color=#0000BB]m_rgpPlayerItems[/color][color=#007700][[/color][color=#0000BB]iAmmoID[/color][color=#007700], [/color][color=#0000BB]iMaxBpAmmo[/color][color=#007700], [/color][color=#0000BB]XO_PLAYER[/color][color=#007700]) 
       } 
   } 
} 
[/color][/color]

.sma failina salvestan?

Jaga seda postitust


Postituse link
Share on other sites
Ei tea kas vastab Sinu soovidele, aga loodame.

 

[color=#000000][color=#FF8000]#include 
#include 

#define VERSION "0.0.1" 

[/color][color=#0000BB]enum 
[/color][color=#007700]{ 
   [/color][color=#0000BB]AmmoX_AmmoID [/color][color=#007700]= [/color][color=#0000BB]1[/color][color=#007700], 
   [/color][color=#0000BB]AmmoX_Ammount 
[/color][color=#007700]} 

[/color][color=#0000BB]enum 
[/color][color=#007700]{ 
   [/color][color=#0000BB]ammo_none[/color][color=#007700], 
   [/color][color=#0000BB]ammo_338magnum [/color][color=#007700]= [/color][color=#0000BB]1[/color][color=#007700], [/color][color=#FF8000]// 30 
   [/color][color=#0000BB]ammo_762nato[/color][color=#007700], [/color][color=#FF8000]// 90 
   [/color][color=#0000BB]ammo_556natobox[/color][color=#007700], [/color][color=#FF8000]// 200 
   [/color][color=#0000BB]ammo_556nato[/color][color=#007700], [/color][color=#FF8000]// 90 
   [/color][color=#0000BB]ammo_buckshot[/color][color=#007700], [/color][color=#FF8000]// 32 
   [/color][color=#0000BB]ammo_45acp[/color][color=#007700], [/color][color=#FF8000]// 100            // mac10 ump45 usp  
   [/color][color=#0000BB]ammo_57mm[/color][color=#007700], [/color][color=#FF8000]// 100 
   [/color][color=#0000BB]ammo_50ae[/color][color=#007700], [/color][color=#FF8000]// 35 
   [/color][color=#0000BB]ammo_357sig[/color][color=#007700], [/color][color=#FF8000]// 52 
   [/color][color=#0000BB]ammo_9mm[/color][color=#007700], [/color][color=#FF8000]// 120            // elite glock18 mp5navy tmp 
   [/color][color=#0000BB]ammo_flashbang[/color][color=#007700], [/color][color=#FF8000]// 2 
   [/color][color=#0000BB]ammo_hegrenade[/color][color=#007700], [/color][color=#FF8000]// 1 
   [/color][color=#0000BB]ammo_smokegrenade[/color][color=#007700], [/color][color=#FF8000]// 1 
   [/color][color=#0000BB]ammo_c4 [/color][color=#FF8000]// 1 
[/color][color=#007700]} 

new const [/color][color=#0000BB]g_iMaxBpAmmo[/color][color=#007700][] = { 
   [/color][color=#0000BB]0[/color][color=#007700], 
   [/color][color=#0000BB]30[/color][color=#007700], 
   [/color][color=#0000BB]90[/color][color=#007700], 
   [/color][color=#0000BB]200[/color][color=#007700], 
   [/color][color=#0000BB]90[/color][color=#007700], 
   [/color][color=#0000BB]32[/color][color=#007700], 
   [/color][color=#0000BB]100[/color][color=#007700], 
   [/color][color=#0000BB]100[/color][color=#007700], 
   [/color][color=#0000BB]35[/color][color=#007700], 
   [/color][color=#0000BB]52[/color][color=#007700], 
   [/color][color=#0000BB]120[/color][color=#007700], 
   [/color][color=#0000BB]2[/color][color=#007700], 
   [/color][color=#0000BB]1[/color][color=#007700], 
   [/color][color=#0000BB]1[/color][color=#007700], 
   [/color][color=#0000BB]1 
[/color][color=#007700]} 

new const [/color][color=#0000BB]m_rgpPlayerItems[/color][color=#007700][[/color][color=#0000BB]32[/color][color=#007700]] = {[/color][color=#0000BB]376[/color][color=#007700],[/color][color=#0000BB]377[/color][color=#007700],...} 

const [/color][color=#0000BB]INFINITE_RELOAD_BITSUM [/color][color=#007700]= [/color][color=#0000BB]1[/color][color=#007700]
[/color][color=#007700]public [/color][color=#0000BB]plugin_init[/color][color=#007700]() 
{ 
   [/color][color=#0000BB]register_plugin[/color][color=#007700]([/color][color=#DD0000]"Paintball Infinite BpAmmo"[/color][color=#007700], [/color][color=#0000BB]VERSION[/color][color=#007700], [/color][color=#DD0000]"ConnorMcLeod"[/color][color=#007700]) 
   [/color][color=#0000BB]register_message[/color][color=#007700]([/color][color=#0000BB]get_user_msgid[/color][color=#007700]([/color][color=#DD0000]"AmmoX"[/color][color=#007700]), [/color][color=#DD0000]"Message_AmmoX"[/color][color=#007700]) 
} 

public [/color][color=#0000BB]Message_AmmoX[/color][color=#007700]([/color][color=#0000BB]iMsgId[/color][color=#007700], [/color][color=#0000BB]iMsgDest[/color][color=#007700], [/color][color=#0000BB]id[/color][color=#007700]) 
{ 
   new [/color][color=#0000BB]iAmmoID [/color][color=#007700]= [/color][color=#0000BB]get_msg_arg_int[/color][color=#007700]([/color][color=#0000BB]AmmoX_AmmoID[/color][color=#007700]) 

   if( [/color][color=#0000BB]is_user_alive[/color][color=#007700]([/color][color=#0000BB]id[/color][color=#007700]) && [/color][color=#0000BB]iAmmoID [/color][color=#007700]) 
   { 
       new [/color][color=#0000BB]iMaxBpAmmo [/color][color=#007700]= [/color][color=#0000BB]g_iMaxBpAmmo[/color][color=#007700][[/color][color=#0000BB]iAmmoID[/color][color=#007700]] 
       if( [/color][color=#0000BB]get_msg_arg_int[/color][color=#007700]([/color][color=#0000BB]AmmoX_Ammount[/color][color=#007700])         { 
           [/color][color=#0000BB]set_msg_arg_int[/color][color=#007700]([/color][color=#0000BB]AmmoX_Ammount[/color][color=#007700], [/color][color=#0000BB]ARG_BYTE[/color][color=#007700], [/color][color=#0000BB]iMaxBpAmmo[/color][color=#007700]) 
           [/color][color=#0000BB]set_pdata_int[/color][color=#007700]([/color][color=#0000BB]id[/color][color=#007700], [/color][color=#0000BB]m_rgpPlayerItems[/color][color=#007700][[/color][color=#0000BB]iAmmoID[/color][color=#007700], [/color][color=#0000BB]iMaxBpAmmo[/color][color=#007700], [/color][color=#0000BB]XO_PLAYER[/color][color=#007700]) 
       } 
   } 
} 
[/color][/color]

 

Vigane, proovisin localis compileda talle,

Expected token "]" but found ","


Love me like you do, lo-lo-love me like you do

Jaga seda postitust


Postituse link
Share on other sites

Kommentaari lisamiseks loo konto või logi sisse

Kommenteerimiseks peate olema liige

Loo konto

Liituge meie kommuuni uue kontoga. See on lihtne!

Loo uus konto

Logi sisse

On juba konto? Logi sisse siit.

Logi sisse nüüd

×
×
  • Loo uus...

Oluline informatsioon

Selle veebisaidi paremaks muutmiseks oleme teie seadmesse paigutanud küpsised . Võite kohandada oma küpsiste seadeid , vastasel juhul eeldame, et te olete küpsiste kasutamisega nõus kui jätkate veebisaidil sirvimist.. Palun lugege läbi Kasutustingimused ja Privaatsuspoliitika.