/taunt CMD
#1

really Stfu it's not me Scripting it's my friend scripting for paying Foo' So shut the fuck up Motherfuckers?
Reply
#2

So you script for money, and you can't script this? Nice...

/taunt -> save the 'taunt text' in a variable, and send it like a message in OnPlayerDeath.
Reply
#3

Pardon? Basically when a player dies you want the winner (player killing the other play) to automatically say something in the chat?

If so it'd be fairly simple - that is if I'm understanding what you're saying. Store a personal, global string per player for the player. And when playerid (winner, living, etc) kills someone SendClientMessageToAll and the string in the playerid subscript of the variable.

Quote:

Scripting for Money -
RP - 10-15$
Stunt - 5-10$
I dont really like script race server
Gang war 2-5$
DeathMatch with zone minigames etc 10-25$
+
Pay with paypal

No offense, but I don't think you're up to it.


EDIT: Whizion beat me to it.
Reply
#4

Don't script for cash....seriously...don't you'll just end up fucking yourself over in the end.
Reply
#5

pawn Код:
new taunt[MAX_PLAYERS][128];
/taunt command:
pawn Код:
format(taunt[playerid], sizeof(taunt[playerid]), "%s", params);
OnPlayerDeath
pawn Код:
new string[128], killername[24];
GetPlayerName(killerid, killername, sizeof(killername));
format(string, sizeof(string), "%s shouts: %s", killername, taunt[killerid]);
SendClientMessage(playerid, YOURCOLOURHERE, string);
Written in the topic and untested.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)