Raised This Month: $ Target: $400
 0% 

i don't understanding get_user_origin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Crazywelder1
Member
Join Date: Mar 2004
Location: CA
Old 02-08-2005 , 20:22  
Reply With Quote #3

ummm i know all of that.. did u read wat i posted??? i am showing u my problem and where it is.. wat i am asking is if u could help me figure out how to fix it

here i make it easier ill give u the whole code its been modify from someone elses code that he needed fixed and the reason i used it is because i want to learn how to make the lightning. for a plugin i am making .
Code:
#include <amxmodx> #include <amxmisc> #include <fun> #include <engine> #include <amxconst> new light public plugin_init() {     register_plugin("Unknown", "0.5", "Garrett")     register_clcmd("say givemegod", "saygod", ADMIN_KICK, "-gives player godmode") } public plugin_precache() {     light = precache_model("sprites/lgtning.spr")     return PLUGIN_HANDLED } public saygod(id) {     if(get_user_flags(id)&&ADMIN_KICK)     set_user_godmode(id)     return PLUGIN_HANDLED     else (!get_user_flags(id)&&ADMIN_KICK)         client_print(id, print_chat, "[AMXX] HAHAHA nice try!")         new origin[33][3]     get_user_origin(id,origin[id])       message_begin(MSG_ALL,SVC_TEMPENTITY)     write_byte(7) // number of tempevent     write_coord(origin[id][0]) // x coord     write_coord(origin[id][1]) // y coord     write_coord(origin[id][2]) // z coord     write_coord(origin[id][0]) // x2 coord     write_coord(origin[id][1]) // y2 coord     write_coord(origin[id][2]) + 10 // z2 coord     write_byte(2) // life     write_byte(5) // width     write_byte(5) // amplitude     write_short(light) // sprite index     message_end()     return PLUGIN_HANDLED }
__________________
AKA = oM`|Garrett
oM CLAN
Soon to have a server in Soon
Crazywelder1 is offline
Send a message via MSN to Crazywelder1
 



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 19:27.


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