[Include] --- Function's
#1

--- 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.
Reply
#2

Nice!
Reply
#3

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)
Reply
#4

A ton of these have been released already.
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)