Raised This Month: $ Target: $400
 0% 

no error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 09-07-2007 , 05:57   Re: no error
Reply With Quote #1

Why should it ?

You can get_user_team() even if the player isn't connected.

So long as the function doesn't set anything, you can usually get what you like.
(But it will probably be 0 )


EDIT: In this specific example it returns -1.

cs_get_user_team() would log an error.
get_user_team is fine.

cstrike obviously cares more than amxmodx does.

Last edited by purple_pixie; 09-07-2007 at 06:01.
purple_pixie 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 07:58.


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