SA-MP Forums Archive
I need a FS pleases help me - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: I need a FS pleases help me (/showthread.php?tid=429004)



I need a FS pleases help me - bavyou - 07.04.2013

Hey guys , pleases help me i need a FS,
sry to my bad english.

FS.

1- NEED something like when you speak on server, it comes upon the chat box, but i need when you talk it comes up on the chatbox and ( over your head )


2- I need a FS- when somone be killed, it will show you on the right side, Who killed who, ( like "MYname# (GUN ICON) and the killed (name).

hoppe you undertand what i said, and Thanks


Re: I need a FS pleases help me - HurtLocker - 07.04.2013

I can assure you that the 2nd thing you want is auto included in samp.


Re: I need a FS pleases help me - bavyou - 07.04.2013

Quote:
Originally Posted by HurtLocker
Посмотреть сообщение
I can assure you that the 2nd thing you want is auto included in samp.
i dont know what the name off it


Re: I need a FS pleases help me - DobbysGamertag - 08.04.2013

https://sampwiki.blast.hk/wiki/OnPlayerDeath for the death

https://sampwiki.blast.hk/wiki/SetPlayerChatBubble for the chatbubble


Re: I need a FS pleases help me - se7evolution - 08.04.2013

About the icon put
pawn Код:
SendDeathMessage(killerid, playerid, reason);
Into your OnPlayerDeath like this:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid, playerid, reason);
    return 1;
}
On phone so sorry for spelling mistakes


Re: I need a FS pleases help me - bavyou - 09.04.2013

Can somone post the FS here


Re: I need a FS pleases help me - absolute - 09.04.2013

i don't think that there is a FS for just a simple SetPlayerChatBubble and SendDeathMessage . dude these are just 2 simple functions


Re: I need a FS pleases help me - DobbysGamertag - 09.04.2013

Ok here, go to:

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid, playerid, reason); // Shows the kill at the side like you asked.
    return 1;
}
make sure you have it in the correct place, press CTRL F search for OnPlayerDeath. If it's not there, add it.

then for the chat bubble:

pawn Код:
public OnPlayerText(playerid, text[])
{
    SetPlayerChatBubble(playerid, text, 0xFF0000FF, 100.0, 10000);
    return 1;
}
Again, make sure its in the right place, or just add it if it isn't there. It works:

pawn Код:
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase
Well, it does for me