Convoy Trucking

Server related => Suggestions => Locked & Closed Suggestions => Topic started by: Vinny on January 05, 2012, 19:08

Title: Suggestion...
Post by: Vinny on January 05, 2012, 19:08
I suggest to add this list with murders comitted. This could help to resolve some reports for Killing/Deathmatching.
Title: Re: Suggestion...
Post by: mick88 on January 05, 2012, 19:29
We don't have guns in server.
Title: Re: Suggestion...
Post by: DeHavilland on January 05, 2012, 19:34
Quote from: mick88 on January 05, 2012, 19:29
We don't have guns in server.
I like this idea! We can see who is killing others by cars and etc!

So +1
Title: Re: Suggestion...
Post by: Joshy on January 05, 2012, 19:38
Instead of displaying the list on screen all of time, instead when someone gets killed by another player (not fall damage /kill etc) it will show to admins "<victim> was killed by <killer> with spray can" and so on. Then if a player does /report about the killer we have proof he killed him.
Title: Re: Suggestion...
Post by: Vinny on January 05, 2012, 19:40
I was thinking about spray can and vehicle kills. I know there are no weapons in the server.
Title: Re: Suggestion...
Post by: Storm94 on January 05, 2012, 21:59
Quote from: Joshy on January 05, 2012, 19:38
Instead of displaying the list on screen all of time, instead when someone gets killed by another player (not fall damage /kill etc) it will show to admins "<victim> was killed by <killer> with spray can" and so on. Then if a player does /report about the killer we have proof he killed him.
http://wiki.sa-mp.com/wiki/OnPlayerGiveDamage
http://wiki.sa-mp.com/wiki/OnPlayerTakeDamage (http://wiki.sa-mp.com/wiki/OnPlayerTakeDamage)

Its even built into SAMP :D
Title: Re: Suggestion...
Post by: Joshy on January 05, 2012, 22:55
Code (pawn) Select

public OnPlayerDeath(playerid, killerid, reason)
{
    if((reason == 41 || reason == 43 || reason == 0 || reason == 49) && killerid != "INVALID_PLAYER_ID")
    {
        new weaponName[16];
        switch(reason){
            case 41: {weaponName = "spraycan";}
            case 43: {weaponName = "camera";}
            case 0: {weaponName = "fists";}
            case 49: {weaponName = "vehicle";}
        }
        new chatLine[96];
        new victimName[MAX_PLAYER_NAME];
        new killerName[MAX_PLAYER_NAME];

        GetPlayerName(playerid,victimName,sizeof(victimName);
        GetPlayerName(killerid,killerName,sizeof(victimName);
        format(chatLine,sizeof(chatLine),"%s killed %s with %s.",killerName,victimName,weaponName);
        // send to whoever you want
        SendAdminMessage(chatLine);
    }
}

Most probably wrong but I tried xD
Title: Re: Suggestion...
Post by: Kyle on January 05, 2012, 23:04
this seems to be shaping up to be something really nice
Title: Re: Suggestion...
Post by: HeLiOn_PrImE on January 05, 2012, 23:13
There's no need for this. Everyone can report the murder with the exact time using the chat log, and the admins and mods will most likely be able to verify who kills who with what. It's useless.
Title: Re: Suggestion...
Post by: Joshy on January 05, 2012, 23:28
Quote from: Call me PrImE on January 05, 2012, 23:13
There's no need for this. Everyone can report the murder with the exact time using the chat log, and the admins and mods will most likely be able to verify who kills who with what. It's useless.
What? Chatlogs don't prove deathmatching ('failed mission' is not proof), Mick doesn't want to check logs for every DM case and we can't prove DM without actually seeing it because there's no kill message...

Personally I think my kill message idea is better than having the kill feed since it's not always on-screen.
Title: Re: Suggestion...
Post by: Vinny on January 05, 2012, 23:43
I agree with Joshy's suggestion. All players don't need to see the made kills.
Title: Re: Suggestion...
Post by: bazingashane0 on January 06, 2012, 01:38
Quote from: Joshy on January 05, 2012, 23:28
Quote from: Call me PrImE on January 05, 2012, 23:13
There's no need for this. Everyone can report the murder with the exact time using the chat log, and the admins and mods will most likely be able to verify who kills who with what. It's useless.
What? Chatlogs don't prove deathmatching ('failed mission' is not proof), Mick doesn't want to check logs for every DM case and we can't prove DM without actually seeing it because there's no kill message...

Personally I think my kill message idea is better than having the kill feed since it's not always on-screen.
+1 I don't wanna be distracted by a useless kill screen that is none of my business, it's a trucking server not dming server of any sort.
Title: Re: Suggestion...
Post by: Storm94 on January 06, 2012, 03:30
Quote from: Joshy on January 05, 2012, 22:55
Code (pawn) Select

public OnPlayerDeath(playerid, killerid, reason)
{
    if((reason == 41 || reason == 43 || reason == 0 || reason == 49) && killerid != "INVALID_PLAYER_ID")
    {
        new weaponName[16];
        switch(reason){
            case 41: {weaponName = "spraycan";}
            case 43: {weaponName = "camera";}
            case 0: {weaponName = "fists";}
            case 49: {weaponName = "vehicle";}
        }
        new chatLine[96];
        new victimName[MAX_PLAYER_NAME];
        new killerName[MAX_PLAYER_NAME];

        GetPlayerName(playerid,victimName,sizeof(victimName);
        GetPlayerName(killerid,killerName,sizeof(victimName);
        format(chatLine,sizeof(chatLine),"%s killed %s with %s.",killerName,victimName,weaponName);
        // send to whoever you want
        SendAdminMessage(chatLine);
    }
}

Most probably wrong but I tried xD

almost joshy. I believe that you need to format the weaponName variable, as its a string.

So
Code (pawn) Select

case 49: {format(weaponName, sizeof(weaponName), "Vehicle"); }