/taunt CMD - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /taunt CMD (
/showthread.php?tid=221723)
/taunt CMD -
Dear - 06.02.2011
really Stfu it's not me Scripting it's my friend scripting for paying Foo' So shut the fuck up Motherfuckers?
Re: /taunt CMD -
Whizion - 06.02.2011
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.
Re: /taunt CMD -
iFriSki - 06.02.2011
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.
Re: /taunt CMD -
Steven82 - 06.02.2011
Don't script for cash....seriously...don't you'll just end up fucking yourself over in the end.
Re: /taunt CMD -
jameskmonger - 06.02.2011
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.