Raised This Month: $32 Target: $400
 8% 

Ammo Pack for CT every 60 Seconds for Normal Mod?


Post New Thread Closed Thread   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-21-2017 , 13:10   Re: Ammo Pack for CT every 60 Seconds for Normal Mod?
#11

Quote:
Originally Posted by Godofwar View Post
OxiCrom i am not sure for what u need the .inc file about the mod? That Swarm Mod dont have a .inc file. And it runs with GunxpMod so i think u mean the gunxpmod.inc to create those ammo packs?
How do you expect me to make a plugin that gives ammo packs if you don't give me the .inc file with the main plugin's natives? How would I know the function's name? I don't know what it uses, so post the file that has the native for giving ammo packs.

And of course, ignore dexter's retarded code.
__________________

Last edited by OciXCrom; 10-21-2017 at 13:12.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 10-21-2017 , 13:37   Re: Ammo Pack for CT every 60 Seconds for Normal Mod?
#12

Code:
// Gun Xp Mod Include File //
#if defined _gunxpmod_included
  #endinput
#endif
#define _gunxpmod_included

#if !defined charsmax
    #define charsmax(%1) sizeof(%1)-1
#endif 

// Returns player Experience.
native get_user_xp(id)

// Sets player Experience.
native set_user_xp(id, amount)

// Returns player Level.
native get_user_level(id)

// Sets player Level.
native set_user_level(id, amount)

// Returns player Level by Xp.
native get_user_max_level(id)

// Return player prestige
native get_user_prestige(id)

// Sets player prestige
native set_user_prestige(id, amount)

// Sets player save type
native set_user_save_type(id, amount)

// Gets player save type
native get_user_save_type(id)

// check_level(id)
native check_level_native(id)

// Sets xp enabled
native set_xp_enabled(id, bool:enabled)

// Sends unlocks list to core plugin. Used for gunxp shop
native send_unlocks_list(id, list[])


// Check if loaded. Fix dissappearing bug
native get_xp_loaded(id)
native set_xp_loaded(id, bool:set)
native get_power_loaded(id)

native get_password(id, psw[])
native set_pass(id, psw[])

// 0 - IP ; 1 - Steam ; 2 - Name
forward OnSaveTypeChange(id, which)
// 0 - Not Loaded Yet ; 1 - Loaded
forward OnPowersLoaded(id, condition)

// Used to add XP with gxm_add_kill_text(id, xp, string[])
forward XPOnPreKill(id)
forward XPOnPreInfect(id)
forward XPOnPreDamage(id)

forward OnLevelSaveDisconnect(id)
forward OnLevelSave(id, xp, prestige)
forward OnLevelLoad(id)
forward OnLevelLoaded(id, szAuth[], xp, prestige)
forward XPOnItemBought(id, name[], cost)

native gxm_add_kill_text(id, xp, string[])
native gxm_add_damage_text(id, xp, string[])
native gxm_add_bonus(id, xp, string[])


// Translates into multilanguage
stock Translate(const key[], client)
{
	new translation[64];
	formatex(translation, charsmax(translation), "%L", client, key);
	
	return translation;
}

stock client_printcolor(const id, const input[], any:...)
{
	new count = 1, players[32];
	static msg[191];
	vformat(msg,190,input,3);
	replace_all(msg,190,"/g","^4");// green txt
	replace_all(msg,190,"/y","^1");// orange txt
	replace_all(msg,190,"/ctr","^3");// team txt
	replace_all(msg,190,"/w","^0");// team txt
	if (id) players[0] = id; else get_players(players,count,"ch");
	for (new i=0;i<count;i++)
		if (is_user_connected(players[i]))
		{
			message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
			write_byte(players[i]);
			write_string(msg);
			message_end();
		}
}
Godofwar is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-21-2017 , 13:44   Re: Ammo Pack for CT every 60 Seconds for Normal Mod?
#13

I don't see any ammo packs here. Are you talking about XP? Also, what in the world is this supposed to mean:

Quote:
And maybe with a cfg file that i can add spawns and save it... and a model file...
???
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 10-21-2017 , 13:49   Re: Ammo Pack for CT every 60 Seconds for Normal Mod?
#14

Yes, the Gunxpmod dont have ammo packs in that .inc file. SO i thought there is a way to create a plugin that gives AMMO Packs like all 60 seconds to CT Players. Mean then add a Model like a box as ammo box, and mean add spawns about cfg -> like a menu: add_spawn_ammo to a place and save it and after mapchange the boxes are saved like in a .ini file.
Godofwar is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-21-2017 , 13:51   Re: Ammo Pack for CT every 60 Seconds for Normal Mod?
#15

Lol, things escalated pretty fast. I'm not doing any models or spawns. Also, if you don't give .sma and the plugin has no natives for giving ammo packs, it's impossible.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 10-21-2017 , 13:55   Re: Ammo Pack for CT every 60 Seconds for Normal Mod?
#16

I checked the Plugin .sma and it dont show natives... SO ok then thx for trying help me..
Godofwar is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 10-21-2017 , 14:24   Re: Ammo Pack for CT every 60 Seconds for Normal Mod?
#17

this thread realy confuised me!!! he want a ammo pack how it related with gunxp and he want for ct get ammo pack so why he need box model and spawn points!!!!!!!!! im realy retard OciX!!!
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 10-21-2017 , 14:38   Re: Ammo Pack for CT every 60 Seconds for Normal Mod?
#18

Quote:
Originally Posted by D3XT3R View Post
this thread realy confuised me!!! he want a ammo pack how it related with gunxp and he want for ct get ammo pack so why he need box model and spawn points!!!!!!!!! im realy retard OciX!!!
Do not pretend you do not know what I want. You know it already. It does not help you if you creep someone in the ass.
Godofwar is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 10-21-2017 , 14:48   Re: Ammo Pack for CT every 60 Seconds for Normal Mod?
#19

Quote:
Originally Posted by Godofwar View Post
Do not pretend you do not know what I want. You know it already. It does not help you if you creep someone in the ass.
mh?
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
Old 10-21-2017, 15:48
Natsheh
This message has been deleted by asherkin.
Old 10-22-2017, 05:28
GrimmReaper
This message has been deleted by asherkin.
Old 10-22-2017, 07:38
D3XT3R
This message has been deleted by asherkin.
Old 10-22-2017, 08:16
DjSoftero
This message has been deleted by asherkin.
Old 10-22-2017, 09:50
OciXCrom
This message has been deleted by asherkin.
Old 10-22-2017, 10:13
Natsheh
This message has been deleted by asherkin.
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode