Raised This Month: $ Target: $400
 0% 

Offset help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Stephen
Senior Member
Join Date: Aug 2004
Old 08-29-2004 , 13:20   Offset help
Reply With Quote #1

Well i dont really know what to do.Im trying to find the right Offsets and stuff like that, but i dotn got any clue what i have to do, i just messed around with this.I dont got any errors while compiling and No errors in game, when i type into the console, get_offset , it shows nothings not even UNKNOW COMMAND, i figure that i need an native that shows me the line of something, but i cant figure it out. please help me

//Offset Shower
//Author: Stephen

#include <amxmodx>
#include <engine>

public plugin_init() {
register_plugin("offset","1.0","Stephen")
register_clcmd("get_offset","g_offset")
return PLUGIN_CONTINUE
}

public g_offset(id) {
get_offset_int(91, 91)
get_offset_char(91, 91)
return PLUGIN_HANDLED

}
Stephen is offline
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 08-29-2004 , 13:27  
Reply With Quote #2

i never delt with offsets by try something like this

Code:
public g_offset(id) { get_offset_int(91, 91) new off = get_offset_char(91, 91) client_print(id,3,"%s",off) return PLUGIN_HANDLED }
Freecode is offline
Stephen
Senior Member
Join Date: Aug 2004
Old 08-29-2004 , 13:36  
Reply With Quote #3

thx for reply, but it didnt work.

it still shows in the console when i press: get_offset nothing
Stephen is offline
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 08-29-2004 , 13:52  
Reply With Quote #4

Code:
public g_offset(id) { get_offset_int(91, 91) new off = get_offset_char(91, 91) client_print(id,3,"Offest: %s : %d",off,off) return PLUGIN_HANDLED }
Freecode is offline
Stephen
Senior Member
Join Date: Aug 2004
Old 08-29-2004 , 15:07  
Reply With Quote #5

hmm it did now something in the console:

i had to type 5 times: get_offset
after i typed 5 times get_offset this appeared:
Offset: : 0
i tried it again with a other number , so not 91,but with 67 and still it showed 0.
Stephen is offline
Reply



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 17:11.


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