Raised This Month: $ Target: $400
 0% 

cant get +attack and +attack2


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 06-01-2004 , 06:46  
Reply With Quote #3

thx, now i have a other prob:
i would like to render someone, but ir should be visible to only one player
but when i use the function i become an error(look at the attachement)
Code:
public render(id) {     new client[32],count     get_players( client, count, "")     for(new core=0; core < 33; core++)     {         new origin[33][3]         new idt=client[core]         get_user_origin(idt,origin[idt],0)         message_begin( MSG_ONE, SVC_TEMPENTITY,origin[idt],id)         if(get_user_team(id)==get_user_team(idt))             set_rendering(idt, kRenderFxNone,255,255,255,kRenderNormal,0)         else             set_rendering(idt, kRenderFxNone,255,0,0,kRenderNormal,0)         message_end()     }     message_end()     return PLUGIN_HANDLED }

P.S:i used set_rendering , because set_user_rendering mades the same error

LG
Green
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
 



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 14:44.


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