Home » Renegade Discussions » Mod Release Forum » [SSGM Plugin] CheckPlayerName
Re: [SSGM Plugin] InvalidChars [message #489011 is a reply to message #489010] |
Thu, 14 August 2014 05:18   |
Neijwiert
Messages: 124 Registered: October 2009
Karma:
|
Recruit |
|
|
iRANian wrote on Thu, 14 August 2014 00:26 | Instead of using Console_Input PAMSG you can use Send_Client_Text. It uses less resources on the server.
|
If you don't know how to do that:
Send_Client_Text(L"insert bullshit here", TEXT_MESSAGE_PRIVATE, true, -1, ClientReceiverID, true, true);
Not tested but it should look like that sort of.
Also when you use a certain function that iterates over a list ('Find_Player') then I advise you to store that result in a variable. Since you use it like a few times in a row on the same ID in the same function. It gets rid of unnecessary iterations.
[Updated on: Thu, 14 August 2014 05:21] Report message to a moderator
|
|
|
 |
|
[SSGM Plugin] CheckPlayerName
By: roszek on Wed, 13 August 2014 17:57
|
 |
|
Re: [SSGM Plugin] InvalidChars
By: iRANian on Thu, 14 August 2014 00:26
|
 |
|
Re: [SSGM Plugin] InvalidChars
|
 |
|
Re: [SSGM Plugin] InvalidChars
By: roszek on Thu, 14 August 2014 21:20
|
 |
|
Re: [SSGM Plugin] InvalidChars
|
 |
|
Re: [SSGM Plugin] CheckPlayerName
By: iRANian on Fri, 15 August 2014 02:17
|
 |
|
Re: [SSGM Plugin] CheckPlayerName
By: roszek on Fri, 15 August 2014 04:43
|
 |
|
Re: [SSGM Plugin] CheckPlayerName
By: Ethenal on Fri, 15 August 2014 06:52
|
 |
|
Re: [SSGM Plugin] CheckPlayerName
By: iRANian on Fri, 15 August 2014 08:11
|
 |
|
Re: [SSGM Plugin] CheckPlayerName
By: Ethenal on Sat, 16 August 2014 06:23
|
 |
|
Re: [SSGM Plugin] CheckPlayerName
By: Xpert on Fri, 15 August 2014 20:30
|
 |
|
Re: [SSGM Plugin] CheckPlayerName
By: iRANian on Sat, 16 August 2014 08:30
|
 |
|
Re: [SSGM Plugin] CheckPlayerName
|
Goto Forum:
Current Time: Tue Apr 15 14:26:04 MST 2025
Total time taken to generate the page: 0.00989 seconds
|