Help With Simple Deathmatch Script
#21

Code:
#include <a_samp>

#define FILTERSCRIPT

#define messagecolor 0x99FF9900
#define red 0xFF0000AA

forward loadobjects();

public OnFilterScriptInit()
{
    print("\n-----------------------------------------");
    print(" Call Of Duty SA-MP Los Santos DeathMatch");
    print("-------------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/lsdm", cmdtext, true, 10) == 0)
    {
        if(IsPlayerAdmin(playerid))
        {
            SetPlayerPos(playerid,1203.6621,-2037.0355,69.0078);
            SendClientMessage(playerid,0x00FF00FF,"You have been teleported");
        }
        return 1;
    }

    return 0;
}

public loadobjects()
{
    CreateObject(3092, 1235.0999755859, -2042, 61, 0, 0, 0);
    CreateObject(1437, 1123.3000488281, -2033.5999755859, 68.900001525879, 0, 0, 0);
    CreateObject(13011, 1124.5, -2038.3000488281, 70.599998474121, 0, 0, 0);
    CreateObject(12987, 1125.1999511719, -2037.5999755859, 72.699996948242, 0, 0, 0);
    CreateObject(1559, 1122.4000244141, -2036.5999755859, 69.900001525879, 0, 0, 0);
    CreateObject(1225, 1175.6999511719, -2038.8000488281, 68.5, 0, 0, 0);
    CreateObject(1225, 1175.3000488281, -2034.9000244141, 68.5, 0, 0, 0);
    CreateObject(1225, 1174.9000244141, -2035, 69.300003051758, 0, 0, 0);
    CreateObject(1225, 1175.3000488281, -2038.9000244141, 69.5, 0, 0, 0);
    CreateObject(3267, 1172.3000488281, -2037, 68, 0, 0, 0);
    CreateObject(3515, 1162.1999511719, -2044.9000244141, 70, 0, 0, 0);
    CreateObject(3524, 1163.5999755859, -2032.8000488281, 70.900001525879, 0, 0, 0);
    CreateObject(3524, 1186.5999755859, -2041.1999511719, 70.900001525879, 0, 0, 0);
    CreateObject(7388, 1186.9000244141, -2030.8000488281, 68, 0, 0, 0);
    CreateObject(3515, 1174.3000488281, -2006.5999755859, 70, 0, 0, 0);
    CreateObject(9833, 1174.1999511719, -2068.3000488281, 71.199996948242, 0, 0, 0);
    CreateObject(7073, 1095.9000244141, -2036.1999511719, 99.900001525879, 0, 0, 0);
    CreateObject(1242, 1183, -2072.8999023438, 68.199996948242, 0, 0, 0);
    return 1;
}
Reply


Messages In This Thread
Help With Simple Deathmatch Script - by [BD]SHANU[NR] - 30.09.2011, 17:34
Re: Help With Simple Deathmatch Script - by nilanjay - 30.09.2011, 17:42
Re: Help With Simple Deathmatch Script - by CJ101 - 30.09.2011, 17:43
AW: Help With Simple Deathmatch Script - by Nero_3D - 30.09.2011, 17:44
Re: Help With Simple Deathmatch Script - by Kingunit - 30.09.2011, 17:44
Re: Help With Simple Deathmatch Script - by [BD]SHANU[NR] - 30.09.2011, 17:51
Re: Help With Simple Deathmatch Script - by nilanjay - 30.09.2011, 17:52
Re: Help With Simple Deathmatch Script - by [BD]SHANU[NR] - 30.09.2011, 18:04
Re: Help With Simple Deathmatch Script - by Zonoya - 30.09.2011, 18:15
Re: Help With Simple Deathmatch Script - by Zonoya - 30.09.2011, 18:18
Re: Help With Simple Deathmatch Script - by Kingunit - 30.09.2011, 18:20
Re: Help With Simple Deathmatch Script - by [BD]SHANU[NR] - 30.09.2011, 18:22
Re: Help With Simple Deathmatch Script - by Zonoya - 30.09.2011, 18:22
Re: Help With Simple Deathmatch Script - by Zonoya - 30.09.2011, 18:25
Re: Help With Simple Deathmatch Script - by Kingunit - 30.09.2011, 18:28
Re: Help With Simple Deathmatch Script - by Zonoya - 30.09.2011, 18:29
Re: Help With Simple Deathmatch Script - by Kingunit - 30.09.2011, 18:30
Re: Help With Simple Deathmatch Script - by Zonoya - 30.09.2011, 18:34
Re: Help With Simple Deathmatch Script - by [BD]SHANU[NR] - 30.09.2011, 18:41
Re: Help With Simple Deathmatch Script - by [BD]SHANU[NR] - 30.09.2011, 19:17
Re: Help With Simple Deathmatch Script - by Zonoya - 30.09.2011, 19:24
Re: Help With Simple Deathmatch Script - by [BD]SHANU[NR] - 30.09.2011, 19:35
Re: Help With Simple Deathmatch Script - by Zonoya - 30.09.2011, 19:58
Re: Help With Simple Deathmatch Script - by [BD]SHANU[NR] - 30.09.2011, 20:17
Re: Help With Simple Deathmatch Script - by Zonoya - 30.09.2011, 20:21

Forum Jump:


Users browsing this thread: 4 Guest(s)