Help me please - 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)
+--- Thread: Help me please (
/showthread.php?tid=430457)
Help me please -
bavyou - 13.04.2013
Fixed
Re: Help me please -
NathNathii - 13.04.2013
Quote:
Originally Posted by bavyou
* 2 * When somone kill somone and on the right side shows who killed who and witch gun
screenshoots:
You can see
|
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid,playerid,GetPlayerWeapon(killerid));
return 1;
}
Re: Help me please -
mrskull42 - 13.04.2013
For your first issue:
pawn Код:
public OnPlayerText(playerid, text[])
{
SetPlayerChatBubble(playerid, text, 0xFF0000FF, 100.0, 10000);
return 1;
}
And for your second issue:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
return 1;
}
Also for the last two, it seems it would be better if you got a script for the RP. Check out this board
http://forum.sa-mp.com/forumdisplay.php?f=71 there's a lot of cool RP scripts there, that you can use. Or you can also use the search option on forum if you want something exact.
Re: Help me please -
bavyou - 13.04.2013
Quote:
Originally Posted by mrskull42
For your first issue:
pawn Код:
public OnPlayerText(playerid, text[]) { SetPlayerChatBubble(playerid, text, 0xFF0000FF, 100.0, 10000); return 1; }
And for your second issue:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) { SendDeathMessage(killerid, playerid, reason); return 1; }
Also for the last two, it seems it would be better if you got a script for the RP. Check out this board http://forum.sa-mp.com/forumdisplay.php?f=71 there's a lot of cool RP scripts there, that you can use. Or you can also use the search option on forum if you want something exact.
|
where i will put thoes codes?
Re: Help me please -
NathNathii - 13.04.2013
Put them in your script.
Re: Help me please -
bavyou - 13.04.2013
Quote:
Originally Posted by NathNathii
Put them in your script.
|
but i get erors
Re: Help me please -
NathNathii - 13.04.2013
Post them here please.
Re: Help me please -
bavyou - 13.04.2013
The Chat fixed , and death fixed thnx
Re: Help me please -
NathNathii - 13.04.2013
Hm, check your pm's.