SA-MP Forums Archive
Question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question (/showthread.php?tid=393525)



Question - JustinAn - 18.11.2012

Hey guys, I've a question in scripts, in gamemodes.

I see these functions in scripts:
pawn Код:
SendClientMessageEx
and
GetPlayerNameEx
Why is there the 'Ex' there? What are those functions used for? Same thing as GetPlayerName and SendClientMessage but without the 'Ex'?


Re: Question - XtremeR - 18.11.2012

as far as i know SendClientMessageEx and GetPlayerNameEx are defined in ur gamemode or are any includes or stuff like that, coz there is nothing like that in SAMP Wiki..


Re: Question - JustinAn - 18.11.2012

Quote:
Originally Posted by XtremeR
Посмотреть сообщение
as far as i know SendClientMessageEx and GetPlayerNameEx are defined in ur gamemode or are any includes or stuff like that, coz there is nothing like that in SAMP Wiki..
Yea, same I can't seem to find it. And I found it in gamemodes, not mines. (:

EDIT: That's why, I'm trying to figure out if it's the same as the normal functions without the 'Ex'.


Re: Question - Vince - 18.11.2012

It's just a name people give to a function to indicate that it combines the standard function with something extra. They could also name it "MyMessageFunction" or something.


Re: Question - JustinAn - 18.11.2012

Quote:
Originally Posted by Vince
Посмотреть сообщение
It's just a name people give to a function to indicate that it combines the standard function with something extra. They could also name it "MyMessageFunction" or something.
Oh alright, . Thank Vince. Howbout a REP+?