[Easy] Scripting question, please help.
#1

Hello,

I am new to scripting and I'd like to add a kill-list code to my server but I don't find anything, and when I do find something it doesn't work or its bugged.. could you please give me a simple kill list code?

Thanks in advance, Clueless
Reply
#2

https://sampwiki.blast.hk/wiki/SendDeathMessage
Reply
#3

Doesnt work .. where do I need to add it? Below this or what? When I search OnPlayerDeath, this happears:

public OnPlayerDeath(playerid, killerid, reason)
{
new string[128];

if(Player[playerid][AdminDuty] != 1)
{
Reply
#4

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
new string[128];

if(Player[playerid][AdminDuty] != 1)
{
Reply
#5

C:\Documents and Settings\diingO\Ambiente de trabalho\SM-RPG V.1.0 R1\gamemodes\SM-RPG.pwn(9902) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Reply
#6

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid, playerid, reason);
    new string[128];

    if(Player[playerid][AdminDuty] != 1)
    {
Reply
#7

thanks alot mate
Reply


Forum Jump:


Users browsing this thread: