[FilterScript] Emtions
#1

What is this?

Well, this is a little script i made that shows the emotions of a player.
For example:
if you type /win, everybody will get a text that says "(PlayerName) has won in an epic way."

This script sucks, i could have made it myself.

Well, im just saving you time if you ever wanted one but where too lazy.

Q&A
Can you do more than this simple script?

Of course i can, i just made this out of extreme boredom.

I cant script but i have a server will you script for me pl0x?

Shure why not, if im in a good mood than yes.

Код:
#include <a_samp>
#define FILTERSCRIPT
#if defined FILTERSCRIPT

if (strcmp("/stresed", cmdtext, true, 10) == 0)
	{
	    new name[MAX_PLAYER_NAME], string[44];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s is stresed over 9000!!!",name);
    SendClientMessageToAll(0xFF0000FF, string);
    return 1;
	}
	if (strcmp("/calm", cmdtext, true, 10) == 0)
	{
	new name[MAX_PLAYER_NAME], string[44];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s is now calm.",name);
    SendClientMessageToAll(0xFF0000FF, string);
    return 1;
    }
    if (strcmp("/fail", cmdtext, true, 10) == 0)
	{
	new name[MAX_PLAYER_NAME], string[44];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s Failed in Epic Proportions.",name);
    SendClientMessageToAll(0xFF0000FF, string);
    return 1;
    }
    if (strcmp("/won", cmdtext, true, 10) == 0)
	{
	new name[MAX_PLAYER_NAME], string[44];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s Won in an Epic Way.",name);
    SendClientMessageToAll(0xFF0000FF, string);
    return 1;
    }
Reply
#2

Why did nobody reply, well i think cause its simple too make, anyways nice Job.
Reply
#3

Nice start in samp forum ! welcome to the best community

have a nice day bb xD
Reply
#4

Its very simple but for newbies its good job.
Reply
#5

Nice job as a newbie
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)