[Include] --- Function's - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] --- Function's (
/showthread.php?tid=383213)
--- Function's - --- - 06.10.2012
--- Function's
What is it?
Its some functions I made and decided to release.
Functions
native GetPlayerIpEx(playerid);
Returns the player IP.
native GetPlayerNameEx(playerid);
Returns the player name.
native SetServerPassword(string[]);
Sets the server password;
native ResetServerPassword();
Removes the server password.
[b]native SetPlayerPosEx(playerid,Float,Float:y,Float:z,Fl oat:angle,vw,int);[b]
Sets a players position,angle,virtual world and interior.
native ClearChat(playerid);
Clears the chat for a player.
native GiveScore(playerid,score);
Gives score to a player.
native Spam(string[]);
Spams the chat with a string.
native SpamPlayer(playerid,string[]);
Spams a players chat.
Download
Pastebin
Suggestions
Just pm me.
Credits
I don't care what you do with this, remember to give me credits.
Re: --- Function's -
jeremy8810 - 06.10.2012
Nice!
Re: --- Function's -
Skillet` - 06.10.2012
For what the last used for ? (spamplayer)
also:
Код:
format(command,"password %s",string);
Not sure if I am right,but after the 'command' parametter should be size of string,no ?
like
sizeof(command)
Re: --- Function's -
SuperViper - 06.10.2012
A ton of these have been released already.
Re: --- Function's - --- - 07.10.2012
Quote:
Originally Posted by jeremy8810
Nice!
|
Thanks.
Quote:
Originally Posted by Skillet`
For what the last used for ? (spamplayer)
also:
Код:
format(command,"password %s",string);
Not sure if I am right,but after the 'command' parametter should be size of string,no ?
like sizeof(command)
|
SpamPlayer - Spams a message for just one player.
I failed at the format. Ill fix it as soon as I am home. Thanks for reporting it.