Commit Graph
100 Commits
Author SHA1 Message Date
Johnny Bergström ee8e30417c Confirmed all offsets for all platforms. (fixed backpack ammo offsets for players which was off, and also fixed offsets for 32 bit linux concerning weapons and the cs_?et_weapon_* natives should now work) 2004-10-29 14:44:48 +00:00
Johnny Bergström 8f18856e91 Fixed SetView (by always hooking Spawn and precaching the needed dummy model rpgrocket.mdl) 2004-10-27 19:06:43 +00:00
Johnny Bergström 5eb095b514 Added native get_user_msgname(msgid, name[], len); 2004-10-25 23:00:16 +00:00
Johnny Bergström 66386cca59 Fixed entity_set_byte 2004-10-24 15:41:25 +00:00
Johnny Bergström 3efa25a5fb Fixed entity_set_edict 2004-10-14 08:15:41 +00:00
Johnny Bergström c29a7d34e5 Renamed cs_get_weapon_type -> cs_get_weapon_id 2004-10-14 06:09:01 +00:00
Johnny Bergström 3a8e103faf Added custommenuitems.cfg to standard cfg files.
menufront.sma executes this file on plugin loa, adding the specified menu items to amxmodmenu.
2004-10-09 10:13:16 +00:00
Johnny Bergström f4b1c9f78a Added server command "amx_addmenuitem <menu text> <menu command> <access flags> <plugin name>":
Server admins can add menu items to amxmodmenu from plugins that do not (yet) do this on their own.
2004-10-09 09:50:33 +00:00
Johnny Bergström 618759f390 Menu items boundary checking... 2004-10-09 09:32:56 +00:00
Johnny Bergström 940b0be4b9 Don't ask 2 2004-10-08 08:59:04 +00:00
Johnny Bergström 75f49e78b0 Don't ask 2004-10-08 08:53:27 +00:00
Johnny Bergström f06359e38f Reworked to add AddMenuItem() 2004-10-08 08:37:27 +00:00
Johnny Bergström 2733adbb49 Added AddMenuItem 2004-10-08 08:36:54 +00:00
Johnny Bergström fc4d8f183b const parameter in callfunc_push_str 2004-10-08 08:29:53 +00:00
Johnny Bergström 3b670333de Fixed result always refused even if admin accepted vote result. 2004-10-05 11:16:27 +00:00
Johnny Bergström eb36757ef1 Fixed menu not displaying on/off status for scout, mp5, ak47. 2004-10-05 10:01:04 +00:00
Johnny Bergström 5a5ff6d8ea Fixed parameter type in FN_PvAllocEntPrivateData (from long to int32) 2004-10-01 08:52:25 +00:00
Johnny Bergström df43d897df Fioxed call_think:
if (!is_ent_valid(iEnt)) {
		EngineError(amx, "Invalid Entity %d", iEnt);
		return 0;
	}

was

	if (is_ent_valid(iEnt)) {
		EngineError(amx, "Invalid Entity %d", iEnt);
		return 0;
	}
2004-09-29 06:17:44 +00:00
Johnny Bergström ecc07d4b45 Fixed some small mistakes. 2004-09-27 13:45:13 +00:00
Johnny Bergström 8da965552b TK offset for AMD64 added. 2004-09-27 13:28:51 +00:00
Johnny Bergström cfe36dea52 Added 2 of 3 new offsets for amd64 2004-09-27 10:54:41 +00:00
Johnny Bergström c16eab09ec Fixed a typo 2004-09-27 09:53:56 +00:00
Johnny Bergström d07cc0424d Fixed a typo 2004-09-27 06:09:59 +00:00
Johnny Bergström c669efd609 New stuff in cstrike module:
cs_get_user_driving()
cs_set_user_tked()
cs_get_user_tked

Also cs_?et_user_deaths() offset updated.

Thanks to Damaged Soul for these.
2004-09-26 13:02:22 +00:00
Johnny Bergström 3fc3ece5b0 Added cs_get_weapon_type(index) 2004-09-25 23:24:34 +00:00
Johnny Bergström 6887dfef16 CS: buyzone offset update to 235 2004-09-24 21:13:07 +00:00
Johnny Bergström 5157be6e3d Updated offset for VIP: to 209 2004-09-24 05:21:39 +00:00
Johnny Bergström 768ea7519f get_info_keybuffer() now works in client_authorized 2004-09-18 13:14:20 +00:00
Johnny Bergström d43807a248 Added get_string() to engine:
/* Converts a string offset into a real string. Some of the forwards in fakemeta
   uses string offsets. (FM_CreateNamedEntity) */
native get_string(_string, _returnString[], _len);
2004-09-16 11:02:51 +00:00
Johnny Bergström 26465afbf7 Fixed cs_set_hostage_follow for amd64 2004-09-14 17:57:34 +00:00
Johnny Bergström 60940512e2 Fixed amd64 offsets... cs_get_hostage_follow works, cs_set_hostage_follow doesn't yet :-( 2004-09-14 09:58:45 +00:00
Johnny Bergström d4e69d97e0 Added amd64 offsets. They aren't 100% tested to work (but should work...) 2004-09-14 09:35:52 +00:00
Johnny Bergström 1a2ef38588 Renamed anglevector to angle_vector because that's its name in module... 2004-09-12 17:00:33 +00:00
Johnny Bergström b040f4474b Fixed sending 0 to find_ent_by_owner. 2004-09-06 08:21:13 +00:00
Johnny Bergström 6122364a24 catched -> caught 2004-09-05 17:28:48 +00:00
Johnny Bergström dd5c75888a Added forwardmacros.h to project 2004-09-02 18:24:48 +00:00
Johnny Bergström 745c595fc8 Now uses fakemeta for pdata stocks 2004-09-01 08:39:30 +00:00
Johnny Bergström 8575c9a637 Added some description. hopefully they are right :-) 2004-08-31 16:43:58 +00:00
Johnny Bergström e73acf4fe4 Renamed is_jit_enabled from jit_enabled 2004-08-31 15:37:22 +00:00
Johnny Bergström 98f946c544 Continued work on the forward registering stuff 2004-08-03 19:45:48 +00:00
Johnny Bergström 8e8633a49a Fixed team native tags 2004-07-22 21:01:39 +00:00
Johnny Bergström 6236590aed included amxxfile.* 2004-07-22 09:19:25 +00:00
Johnny Bergström 59bb24e791 Removed WON specific offsets. 2004-07-18 14:11:07 +00:00
Johnny Bergström 8ea1c7f486 Fixed callfunc_begin(): Wrote "filename" instead of just "name" to make it more clear... 2004-07-16 08:36:08 +00:00
Johnny Bergström 63c2c0a322 Fixed callfunc_begin(): The order of the params was wrong!!! 2004-07-16 08:24:10 +00:00
Johnny Bergström c00fffa444 MSVC 7.1 project file... 2004-07-16 07:38:58 +00:00
Johnny Bergström aaa1e781c2 Hopefully fixes the "bots can't harm" bug. 2004-07-13 21:26:38 +00:00
Johnny Bergström 60c6b1703d Possible fix to the overflow of edicts... 2004-07-13 15:19:36 +00:00
Johnny Bergström 06dd58e7a4 Nothing important 2004-07-13 15:07:21 +00:00
Johnny Bergström fc58946ffa Nothing important 2004-07-13 08:35:04 +00:00
Johnny Bergström 5b7e96532d Fixed inc link 2004-07-13 08:33:19 +00:00
Johnny Bergström 228d3a13c8 Fixed pdata int stocks 2004-07-12 08:25:48 +00:00
Johnny Bergström 7c9be9c348 Fixed for NO_STEAM builds (removed STEAM autobuy code from build) 2004-07-10 10:02:13 +00:00
Johnny Bergström ab03ce077e Added strip_user_weapons (thx to SidLuke) 2004-06-21 09:16:14 +00:00
Johnny Bergström 1af005a047 Added cs_get_no_knives, cs_set_no_knives 2004-06-17 15:42:43 +00:00
Johnny Bergström 0660f872eb Added support for TFC weapons in give_item 2004-06-16 19:02:00 +00:00
Johnny Bergström 8840c03dff Fixed a couple more typos dettach -> detach 2004-06-09 07:59:32 +00:00
Johnny Bergström 5cbc863f33 Added cs_get_user_hasprim() 2004-06-07 15:33:45 +00:00
Johnny Bergström 667b15787d Fixed some typos and stuff. 2004-06-07 11:13:20 +00:00
Johnny Bergström 577c8c5f61 Fixed cs_set_hostage_foll() 2004-06-03 09:01:42 +00:00
Johnny Bergström 5ce181a995 Fixed a lot of MF_IsPlayerInGame that was done on non-player entities 2004-06-03 08:44:43 +00:00
Johnny Bergström 5c3ce78c58 Fixed typo: Dettach --> Detach 2004-05-26 12:58:58 +00:00
Johnny Bergström c3d50a293d Fixed typo: dettach --> detach 2004-05-26 12:14:17 +00:00
Johnny Bergström 7bb4c78a33 Small update. Added 2nd parameter to amx_help for server. Server can type "amx_help 1 150" to view 150 help cmds at once. 2004-05-16 11:31:41 +00:00
Johnny Bergström b9b2a2581e removed def file 2004-05-03 15:50:29 +00:00
Johnny Bergström ccf02c9484 RETURN_META_VALUE in client connect 2004-05-03 08:55:48 +00:00
Johnny Bergström a019ef2d52 Now compiles to singlethreaded module (ML/MLd) 2004-05-03 08:51:11 +00:00
Johnny Bergström 97e2c3b902 removed old files 2004-04-29 12:28:00 +00:00
Johnny Bergström 8cb40e903e added entity_is_on_ground 2004-04-29 09:42:00 +00:00
Johnny Bergström 32efef099c Implemented old ?et_user_hitzones functionality 2004-04-27 10:08:46 +00:00
Johnny Bergström 0cb086eb6b Updated comment 2004-04-26 15:30:45 +00:00
Johnny Bergström de3dbd8a1d cs_set_user_vip - changes to VIP model + updates scoreboard when appropriate 2004-04-22 12:38:57 +00:00
Johnny Bergström 72a0a37f74 cs_set_user_team - should now update model+scoreboard right away 2004-04-22 09:38:30 +00:00
Johnny Bergström f75cf50eac Fixed small bug in make_deathmsg 2004-04-21 09:47:06 +00:00
Johnny Bergström 4d01d5625c Removed block from Autobuy and rebuy. Blocked items are stripped from autobuy calls. 2004-04-19 11:25:26 +00:00
Johnny Bergström 8f63a1a7b9 confirmed offset OFFSET_INTERNALMODEL for won 2004-04-06 08:19:56 +00:00
Johnny Bergström 24791ac315 Updated cs_set_user_team to include model 2004-04-06 07:40:51 +00:00
Johnny Bergström b008438e6c test 2004-03-31 07:23:45 +00:00
Johnny Bergström b9530d538b test 2004-03-31 07:21:01 +00:00
Johnny Bergström 773e358596 Fixed setting players online once again 2004-03-31 06:15:27 +00:00
Johnny Bergström 52722d7ebf Fixed 2004-03-29 14:57:15 +00:00
Johnny Bergström 75c3cd90e0 Fixed 2004-03-29 14:49:50 +00:00
Johnny Bergström ffae6da15e Fixed so that player must pass one ClientInfoChanged before cs_set_user* works. 2004-03-29 14:19:02 +00:00
Johnny Bergström 1428a87edc Added amxxlog.cpp to project 2004-03-29 10:50:50 +00:00
Johnny Bergström a6473737a2 entity_set_model should take const strings 2004-03-25 11:42:34 +00:00
Johnny Bergström 3fc4049b0a Placed meta_api.cpp under right folder in workspace 2004-03-25 08:33:48 +00:00
Johnny Bergström e40daf1315 another fix 2004-03-24 12:56:21 +00:00
Johnny Bergström 5967f7d951 fixed entity_set_string to take const strings 2004-03-24 08:53:40 +00:00
Johnny Bergström 0a582d4635 Didn't work - fixed a lot of stuff 2004-03-24 08:18:07 +00:00
Johnny Bergström 8d89be8de3 confirmed WON offset: OFFSET_CLIPAMMO as 51 2004-03-24 07:54:15 +00:00
Johnny Bergström 8c7938d47a Fixed workspace 2004-03-24 07:28:49 +00:00
Johnny Bergström 95445293a2 Fixed anim after cs_set_weapon_silenc 2004-03-22 12:20:00 +00:00
Johnny Bergström 431bfbb4d9 Updated set_entity_visibility 2004-03-22 11:44:47 +00:00
Johnny Bergström e47104aa29 Fixed reference to find_ent_by_classname in find_ent
Added set_entity_visibility and get_entity_visibility
2004-03-22 11:29:29 +00:00
Johnny Bergström 180fa52acb Added cs_get_weapon_ammo/cs_set_weapon_ammo 2004-03-22 09:10:11 +00:00
Johnny Bergström bbbe0cda78 Added cs_get_weapon_ammo/cs_set_weapon_ammo 2004-03-22 08:57:23 +00:00
Johnny Bergström b21bbcbf90 Fixed prototype of set_offset_short
Fixed all offset natives (they checked ent index above maxClients, should've been maxEntities (some also checked if player is online))
Added s/get_offset_char()
Fixed set_pdata_float to set float value from parameter properly
Fixed set_pdata_short to set short value from parameter properly
Reimplemented find_ent_by_owner
2004-03-22 08:27:52 +00:00
Johnny Bergström 66a1f11387 Shortened all natives that had longer names than old compiler limit of 19 characters. 2004-03-22 07:23:47 +00:00
Johnny Bergström 556e9cee57 removed a forgotten debug message 2004-03-21 17:10:35 +00:00
Johnny Bergström a7c4f5a147 typo fix courtesy of pimp daddy 2004-03-17 11:38:23 +00:00