I need a FS pleases help me
#1

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
Reply
#2

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

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
Reply
#4

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

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

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
Reply
#6

Can somone post the FS here
Reply
#7

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)