Raised This Month: $ Target: $400
 0% 

Difference between iPlayer and Player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Estland
Member
Join Date: Nov 2012
Old 11-20-2014 , 14:08   Difference between iPlayer and Player
Reply With Quote #1

Can anyone explain, what's the difference between
Code:
message_begin(MSG_ONE, get_user_msgid("SayText"), {0,0,0}, player)
write_byte(player)
and
Code:
message_begin(MSG_ONE, get_user_msgid("SayText"), {0,0,0}, iPlayer)
write_byte(iPlayer)
One takes for example player's teamcolor and other takes your teamcolor?
Estland is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 11-20-2014 , 14:30   Re: Difference between iPlayer and Player
Reply With Quote #2

Quote:
Originally Posted by Estland View Post
Can anyone explain, what's the difference between
Code:
message_begin(MSG_ONE, get_user_msgid("SayText"), {0,0,0}, player)
write_byte(player)
and
Code:
message_begin(MSG_ONE, get_user_msgid("SayText"), {0,0,0}, iPlayer)
write_byte(iPlayer)
One takes for example player's teamcolor and other takes your teamcolor?
No, thats just the identification. player can be = id. you name it whatever you want. To say what it actually does, depends of what you have before it.
__________________
Jhob94 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 11-20-2014 , 14:41   Re: Difference between iPlayer and Player
Reply With Quote #3

It's just a variable name used in that plugin by the author.
__________________
HamletEagle is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 11-20-2014 , 20:43   Re: Difference between iPlayer and Player
Reply With Quote #4

Hungarian notation
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS 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:45.


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