22.10.2014, 17:38
ERROS
Toda as Linhas
PHP код:
C:\Users\surradebilada\Desktop\FILES\C- GAMEMODES\Estou Fazendo\gamemodes\gm.pwn(689) : error 021: symbol already defined: "OnPlayerUpdate"
C:\Users\surradebilada\Desktop\FILES\C- GAMEMODES\Estou Fazendo\gamemodes\gm.pwn(690) : error 017: undefined symbol "gPlayerLogged"
C:\Users\surradebilada\Desktop\FILES\C- GAMEMODES\Estou Fazendo\gamemodes\gm.pwn(690) : warning 215: expression has no effect
C:\Users\surradebilada\Desktop\FILES\C- GAMEMODES\Estou Fazendo\gamemodes\gm.pwn(690) : error 001: expected token: ";", but found "]"
C:\Users\surradebilada\Desktop\FILES\C- GAMEMODES\Estou Fazendo\gamemodes\gm.pwn(690) : error 029: invalid expression, assumed zero
C:\Users\surradebilada\Desktop\FILES\C- GAMEMODES\Estou Fazendo\gamemodes\gm.pwn(690) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Toda as Linhas
PHP код:
#include <a_samp>
#define CBUG_INTERVAL_DEAGLE 700
#define CBUG_INTERVAL_SHOTGUN 1000
#define CBUG_INTERVAL_COMBATSG 340
#define CBUG_INTERVAL_COUNTRY 850
#define CBUG_INTERVAL_SNIPER 850
new RandomColors [] =
{
0xFF5A00FF,
0xF50000FF,
0xF50000FF,
0x91FF00FF,
0xFF0091FF,
0x009000FF,
0x9600FFFF
};
/*
____ ____ ____ __ __ _ ____
( \( __)( __)( )( ( \( __)
) D ( ) _) ) _) )( / / ) _)
(____/(____)(__) (__)\_)__)(____)
*/
//dialog
#define DIALOG_LOGIN 0
#define DIALOG_REGISTER 1
#define DIALOG_LANGUAGE 2
#define DIALOG_EDITBD 3
#define DIALOG_GATE 4
#define Dialog_GetRangeBuild 5
#define Dialog_SetupPass 6
#define Dialog_EnterPass 7
#define Dialog_Craft 8
//TEAM
#define TEAM_SUR 1//GREEN
#define TEAM_2 2 //red
#define TEAM_3 3 //yellow
#define TEAM_4 4 //light blue
#define COLOR_TEAM1 0x33AA33AA
#define COLOR_TEAM2 0xAA3333AA
#define COLOR_TEAM3 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_TEAM4 0x33CCFFAA
#define COLOR_RED 0xFF000000
#define COLOR_YELLOW 0xFFFF0000
#define COLOR_GREEN 0x00FF0000
//
#define FUEL_DECREASE 1
#define Z_WHITE "{FFFFFF}"
#define Z_ORANGE "{DB881A}"
#define MAX_ZOMBIES 29
#define MAXZRANGE 50
#define MAX_Build 2000
////MAX AMOUNT DROP ITEM
#define MAX_DROP_ITEMS 10000
#define MAX_LOOTS_SPAWN 10000
//tree
#define MAX_TREES 1000
/// M selection Menu extra id
#define INVENTORY_MENU 1
#define BOX_MENU 2
#define PUTBOX_MENU 3
#define CARBOX_MENU 4
#define BOXCAR_MENU 5
#define PUTCARBOX_MENU 6
///Dialog id
#define DIALOG_INV 213
#define DIALOG_BOX 214
///MAX SLOT
#define MAX_SLOT 50
///vehicle
#undef MAX_VEHICLES
#define MAX_VEHICLES 100
#define PRESSED(%0) \
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
//
#define MPH_KMH 1.609344
new RedRadar;
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
forward mMensagens();
// New's
new Mensagens[][130] =
{
"Sua Mensagem aki",
"Sua Mensagem aki",
"Sua Mensagem aki",
"Sua Mensagem aki",
"Sua Mensagem aki",
"Sua Mensagem aki",
"Sua Mensagem aki",
"Sua Mensagem aki",
"Sua Mensagem aki"
};
new Float:RandomSpawns[22][4] =
{
{258.0997,2939.1514,1.7661,178.4244},
{1688.2180,-2731.7292,9.4693,180.6178},
{1688.2180,-2731.7292,9.4693,180.6178},
{129.5016,-1763.0736,5.4249,312.5323},
{220.3669,-233.3869,1.7786,42.7497},
{633.1784,-598.7915,16.3359,273.9685},
{-343.2381,1538.3112,80.4266,180.6176},
{1666.1603,1474.2776,10.7755,269.3152},
{2785.0378,710.2653,10.8912,115.5138},
{-1459.0962,2699.2815,55.8359,195.7046},
{-2387.5447,2215.6553,4.9844,88.8569},
{-2106.0325,167.3820,35.0691,321.0158},
{-2946.0522,974.2535,13.9277,258.6619},
{-2229.3057,-1743.5945,480.8813,222.0331},
{-2610.8232,-2729.7227,6.5595,289.7137},
{-955.2931,-2357.0247,60.9880,101.1086},
{-201.6451,-2263.7766,29.3455,311.3806},
{1125.8311,-2036.9128,69.8801,272.8402},
{2903.2417,-1930.4924,2.2940,89.2251},
{2918.8140,-726.6842,9.9818,87.4152},
{-1568.6575,-2729.0886,48.7435,63.0969},
{2069.9150,-411.8249,110.5751,61.2491}
};
public OnGameModeInit()
{
SetTimer("mMensagens", 300000, true);
//BRASIL
CreateObject(3092,96.7002000,1918.9004000,19.2000000,0.0000000,0.0000000,0.0000000); //object(dead_tied_cop) (1)
CreateObject(3279,1042.2998000,-352.7002000,73.0000000,0.0000000,0.0000000,0.0000000); //object(a51_spottower) (2)
CreateObject(3279,1018.6000000,-351.0000000,73.0000000,0.0000000,0.0000000,0.0000000); //object(a51_spottower) (2)
CreateObject(8210,1006.7002000,-306.7002000,76.1000000,0.0000000,0.0000000,272.0000000); //object(vgsselecfence12) (1)
CreateObject(8210,1033.2002000,-280.0000000,75.6000000,0.0000000,0.0000000,178.9950000); //object(vgsselecfence12) (2)
CreateObject(8210,1008.0996000,-343.5996100,75.4000000,0.0000000,0.0000000,272.2470000); //object(vgsselecfence12) (3)
CreateObject(8210,1086.4000000,-281.0000000,75.6000000,0.0000000,0.0000000,178.9950000); //object(vgsselecfence12) (2)
CreateObject(8210,1097.8000000,-281.2999900,75.6000000,0.0000000,0.0000000,178.9950000); //object(vgsselecfence12) (2)
CreateObject(8210,1124.8000000,-309.2000100,75.6000000,0.0000000,0.0000000,89.2450000); //object(vgsselecfence12) (2)
CreateObject(8210,1124.4000000,-343.2000100,75.6000000,0.0000000,0.0000000,89.2420000); //object(vgsselecfence12) (2)
CreateObject(8210,1096.4000000,-370.1000100,75.6000000,0.0000000,0.0000000,359.2420000); //object(vgsselecfence12) (2)
CreateObject(8210,1054.5000000,-369.7000100,75.6000000,0.0000000,0.0000000,359.2420000); //object(vgsselecfence12) (2)
CreateObject(14805,1044.7000000,-301.2000100,73.8000000,0.0000000,0.0000000,0.0000000); //object(bdupsnew_int) (1)
CreateObject(3749,1018.0996000,-369.7998000,78.6000000,0.0000000,0.0000000,0.0000000); //object(clubgate01_lax) (2)
CreateObject(9241,1072.1000000,-308.0000000,75.1000000,0.0000000,0.0000000,0.0000000); //object(copbits_sfn) (1)
CreateObject(3015,1080.8000000,-316.8999900,73.0000000,0.0000000,0.0000000,0.0000000); //object(cr_cratestack) (1)
CreateObject(7979,1116.5000000,-343.0000000,77.6000000,0.0000000,0.0000000,268.0000000); //object(blastdef01_lvs) (1)
CreateObject(1429,1044.9004000,-302.2002000,73.8100100,0.0000000,0.0000000,22.0000000); //object(dyn_tv) (1)
CreateObject(5369,1016.2000000,-344.5000000,84.2000000,0.0000000,0.0000000,0.0000000); //object(alphbrk4_las2) (1)
CreateObject(1337,1040.3242000,-348.6425800,73.4921900,0.0000000,0.0000000,0.0000000); //object(binnt07_la) (1)
// BASE ADM
CreateObject(3593,2463.1001000,-1665.7000000,12.5000000,0.0000000,0.0000000,0.0000000); //object(la_fuckcar2) (1)
CreateObject(3593,2463.1001000,-1652.8000000,14.1000000,0.0000000,0.0000000,0.0000000); //object(la_fuckcar2) (4)
CreateObject(3593,2463.1001000,-1652.8000000,13.1000000,0.0000000,0.0000000,0.0000000); //object(la_fuckcar2) (5)
CreateObject(3593,2463.1001000,-1652.8000000,12.4000000,0.0000000,0.0000000,0.0000000); //object(la_fuckcar2) (6)
CreateObject(3593,2463.1001000,-1665.7000000,13.5000000,0.0000000,0.0000000,0.0000000); //object(la_fuckcar2) (7)
CreateObject(3593,2463.1001000,-1665.7000000,14.3000000,0.0000000,0.0000000,0.0000000); //object(la_fuckcar2) (8)
CreateObject(2985,2464.7000000,-1662.2000000,12.3000000,0.0000000,0.0000000,176.0000000); //object(minigun_base) (1)
CreateObject(2985,2464.3000000,-1656.4000000,12.3000000,0.0000000,0.0000000,179.9960000); //object(minigun_base) (2)
CreateObject(2985,2463.6001000,-1655.2000000,14.1000000,0.0000000,0.0000000,179.9950000); //object(minigun_base) (3)
CreateObject(2985,2463.5000000,-1663.2000000,14.6000000,0.0000000,0.0000000,179.9950000); //object(minigun_base) (4)
CreateObject(3279,2488.7000000,-1636.4000000,23.6000000,0.0000000,0.0000000,269.9970000); //object(a51_spottower) (2)
CreateObject(3795,2462.3999000,-1664.6000000,12.7000000,82.0000000,0.0000000,92.0000000); //object(missile_04_sfxr) (1)
CreateObject(3795,2464.1001000,-1664.6000000,12.7000000,81.9960000,0.0000000,92.0000000); //object(missile_04_sfxr) (2)
CreateObject(3795,2463.8000000,-1653.1000000,12.7000000,81.9960000,0.0000000,92.0000000); //object(missile_04_sfxr) (3)
CreateObject(3795,2462.6001000,-1653.1000000,12.7000000,81.9960000,0.0000000,92.0000000); //object(missile_04_sfxr) (4)
CreateObject(3795,2462.5000000,-1654.3000000,12.7000000,81.9960000,0.0000000,92.0000000); //object(missile_04_sfxr) (5)
CreateObject(3795,2463.6001000,-1654.3000000,12.7000000,81.9960000,0.0000000,92.0000000); //object(missile_04_sfxr) (6)
CreateObject(3795,2462.5000000,-1654.3000000,14.2000000,356.0040000,180.0000000,272.0000000); //object(missile_04_sfxr) (7)
CreateObject(2899,2463.1001000,-1659.3000000,12.4000000,0.0000000,0.0000000,0.0000000); //object(temp_stinger2) (1)
CreateObject(3749,2355.6006000,-1659.5996000,18.0000000,0.0000000,0.0000000,267.9950000); //object(clubgate01_lax) (1)
CreateObject(3524,2352.8999000,-1665.8000000,15.3000000,0.0000000,0.0000000,272.0000000); //object(skullpillar01_lvs) (1)
CreateObject(3524,2353.2000000,-1653.3000000,15.6000000,0.0000000,0.0000000,272.0000000); //object(skullpillar01_lvs) (2)
CreateObject(13590,2430.5000000,-1670.6000000,13.9000000,0.0000000,0.0000000,0.0000000); //object(kickbus04) (1)
CreateObject(2669,2484.3999000,-1660.9000000,13.9000000,0.0000000,0.0000000,0.0000000); //object(cj_chris_crate) (1)
CreateObject(2669,2484.2000000,-1672.1000000,13.9000000,0.0000000,0.0000000,180.0000000); //object(cj_chris_crate) (2)
CreateObject(3571,2479.2000000,-1663.3000000,13.7000000,0.0000000,0.0000000,0.0000000); //object(lasdkrt3) (1)
CreateObject(3571,2478.7000000,-1670.9000000,13.7000000,0.0000000,0.0000000,0.0000000); //object(lasdkrt3) (2)
CreateObject(3593,2445.4004000,-1666.5000000,14.0000000,0.0000000,90.0000000,35.9970000); //object(la_fuckcar2) (9)
CreateObject(2932,2476.3999000,-1667.7000000,16.3000000,0.0000000,0.0000000,0.0000000); //object(kmb_container_blue) (2)
CreateObject(11292,2490.2000000,-1661.8000000,13.8000000,0.0000000,0.0000000,0.0000000); //object(gasstatiohut) (1)
CreateObject(11292,2490.2000000,-1671.5000000,13.6000000,0.0000000,0.0000000,180.0000000); //object(gasstatiohut) (2)
CreateObject(2932,2493.1001000,-1666.7000000,16.8000000,0.0000000,0.0000000,0.0000000); //object(kmb_container_blue) (3)
CreateObject(1391,2490.0000000,-1666.0000000,40.8000000,0.0000000,0.0000000,0.0000000); //object(twrcrane_s_03) (1)
CreateObject(16327,2530.3999000,-1677.3000000,19.1000000,0.0000000,0.0000000,0.0000000); //object(des_bycontowr) (1)
CreateObject(1264,2474.7000000,-1651.5000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(blackbag1) (3)
CreateObject(1264,2474.3999000,-1653.5000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(blackbag1) (4)
CreateObject(1264,2472.7000000,-1653.2000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(blackbag1) (5)
CreateObject(1264,2472.7998000,-1652.7002000,12.8000000,0.0000000,0.0000000,0.0000000); //object(blackbag1) (6)
CreateObject(1264,2474.6001000,-1651.0000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(blackbag1) (7)
CreateObject(1264,2475.0000000,-1653.3000000,12.8000000,0.0000000,352.0000000,0.0000000); //object(blackbag1) (8)
CreateObject(6295,2461.0000000,-1671.8000000,14.4000000,59.7590000,352.0390000,266.8890000); //object(sanpedlithus_law2) (1)
CreateObject(987,2472.2000000,-1721.9000000,13.0000000,0.0000000,0.0000000,2.0000000); //object(elecfence_bar) (1)
CreateObject(987,2460.2000000,-1721.8000000,13.0000000,0.0000000,0.0000000,360.0000000); //object(elecfence_bar) (2)
CreateObject(987,2448.2000000,-1721.4000000,13.0000000,0.0000000,0.0000000,357.9950000); //object(elecfence_bar) (3)
CreateObject(987,2441.7000000,-1721.6000000,13.0000000,0.0000000,0.0000000,359.9900000); //object(elecfence_bar) (4)
CreateObject(987,2443.0000000,-1709.7000000,13.0000000,0.0000000,0.0000000,263.9890000); //object(elecfence_bar) (5)
CreateObject(987,2443.5000000,-1698.1000000,13.3000000,0.0000000,0.0000000,263.9850000); //object(elecfence_bar) (6)
CreateObject(987,2408.1001000,-1693.8000000,12.7000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (7)
CreateObject(987,2396.1001000,-1694.1000000,12.9000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (8)
CreateObject(987,2384.3999000,-1694.0000000,13.1000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (9)
CreateObject(987,2372.8999000,-1693.6000000,13.1000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (10)
CreateObject(987,2360.8999000,-1693.2000000,13.1000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (11)
CreateObject(987,2353.2000000,-1693.1000000,13.1000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (12)
CreateObject(987,2353.1001000,-1681.0000000,13.1000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (13)
CreateObject(987,2353.2000000,-1669.2000000,13.1000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (14)
CreateObject(987,2355.0000000,-1638.1000000,13.1000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (15)
CreateObject(987,2354.7000000,-1631.4000000,13.1000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (16)
CreateObject(987,2366.3999000,-1632.2000000,13.1000000,0.0000000,0.0000000,178.0000000); //object(elecfence_bar) (17)
CreateObject(987,2378.2000000,-1632.6000000,13.1000000,0.0000000,0.0000000,177.9950000); //object(elecfence_bar) (18)
CreateObject(987,2390.0000000,-1632.7000000,12.6000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar) (19)
CreateObject(987,2401.8000000,-1632.6000000,12.6000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar) (20)
CreateObject(987,2413.8000000,-1630.2000000,12.6000000,0.0000000,0.0000000,183.9950000); //object(elecfence_bar) (21)
CreateObject(987,2425.8000000,-1629.1000000,12.6000000,0.0000000,0.0000000,183.9940000); //object(elecfence_bar) (22)
CreateObject(987,2437.7000000,-1630.3000000,12.6000000,0.0000000,0.0000000,173.9940000); //object(elecfence_bar) (23)
CreateObject(987,2449.3999000,-1631.5000000,12.6000000,0.0000000,0.0000000,173.9900000); //object(elecfence_bar) (24)
CreateObject(987,2461.5000000,-1631.2000000,14.4000000,0.0000000,0.0000000,173.9900000); //object(elecfence_bar) (25)
CreateObject(987,2473.3999000,-1630.1000000,15.6000000,0.0000000,0.0000000,177.9900000); //object(elecfence_bar) (26)
CreateObject(987,2484.8999000,-1629.4000000,15.6000000,0.0000000,0.0000000,179.9900000); //object(elecfence_bar) (27)
CreateObject(987,2496.7000000,-1629.4000000,16.6000000,0.0000000,0.0000000,179.9890000); //object(elecfence_bar) (28)
CreateObject(987,2508.6001000,-1629.2000000,17.1000000,0.0000000,0.0000000,179.9890000); //object(elecfence_bar) (29)
CreateObject(987,2520.3999000,-1629.2000000,17.4000000,0.0000000,0.0000000,179.9890000); //object(elecfence_bar) (30)
CreateObject(987,2532.1001000,-1628.7000000,17.4000000,0.0000000,0.0000000,179.9890000); //object(elecfence_bar) (31)
CreateObject(987,2540.8999000,-1629.1000000,17.4000000,0.0000000,0.0000000,179.9890000); //object(elecfence_bar) (32)
CreateObject(987,2540.6001000,-1641.0000000,17.4000000,0.0000000,0.0000000,89.9890000); //object(elecfence_bar) (33)
CreateObject(987,2540.8000000,-1652.9000000,17.4000000,0.0000000,0.0000000,89.9890000); //object(elecfence_bar) (34)
CreateObject(987,2540.7000000,-1664.9000000,17.4000000,0.0000000,0.0000000,89.9890000); //object(elecfence_bar) (35)
CreateObject(987,2540.5000000,-1676.6000000,16.9000000,0.0000000,0.0000000,89.9890000); //object(elecfence_bar) (36)
CreateObject(987,2540.1001000,-1688.6000000,16.6000000,0.0000000,0.0000000,89.9890000); //object(elecfence_bar) (37)
CreateObject(987,2539.8999000,-1700.6000000,16.6000000,0.0000000,0.0000000,89.9890000); //object(elecfence_bar) (38)
CreateObject(987,2539.8999000,-1711.8000000,16.4000000,0.0000000,0.0000000,89.9890000); //object(elecfence_bar) (39)
CreateObject(987,2540.1001000,-1720.5000000,11.4000000,0.0000000,0.0000000,89.9890000); //object(elecfence_bar) (41)
CreateObject(987,2540.0000000,-1720.9000000,16.1000000,0.0000000,0.0000000,89.9890000); //object(elecfence_bar) (46)
CreateObject(987,2524.0000000,-1721.9000000,14.2000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (48)
CreateObject(987,2528.2000000,-1721.0000000,14.2000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (49)
CreateObject(987,2528.2000000,-1721.2000000,15.9000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (50)
CreateObject(987,2523.8000000,-1721.7000000,15.9000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (51)
CreateObject(987,2519.6001000,-1721.8000000,15.9000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (52)
CreateObject(987,2519.6001000,-1721.8000000,11.6000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (53)
CreateObject(2745,2390.0000000,-1658.9000000,12.9000000,0.0000000,0.0000000,270.0000000); //object(cj_stat_3) (1)
CreateObject(986,166.0000000,143.3999900,497.7000100,0.0000000,0.0000000,0.0000000); //object(gate_autol) (1)
CreateObject(5837,2375.8000000,-1645.7000000,14.3000000,0.0000000,2.0000000,174.0000000); //object(ci_guardhouse1) (1)
CreateObject(2669,2383.3999000,-1646.0000000,13.9000000,0.0000000,0.0000000,358.0000000); //object(cj_chris_crate) (3)
CreateObject(1337,1303.2598000,-940.6152300,39.0509100,0.0000000,0.0000000,0.0000000); //object(binnt07_la) (1)
CreateObject(1337,1303.2595200,-940.6155400,39.0509100,0.0000000,0.0000000,0.0000000); //object(binnt07_la) (3)
CreateObject(6865,2352.2000000,-1659.8000000,19.8000000,0.0000000,0.0000000,320.0000000); //object(steerskull) (1)
CreateObject(1264,2483.5000000,-1665.1000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(blackbag1) (6)
CreateObject(1264,2486.8999000,-1663.9000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(blackbag1) (6)
CreateObject(1264,2490.3000000,-1668.8000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(blackbag1) (6)
CreateObject(1264,2490.2998000,-1668.7998000,12.8000000,0.0000000,0.0000000,0.0000000); //object(blackbag1) (6)
CreateObject(1264,2507.2000000,-1675.5000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(blackbag1) (6)
CreateObject(1337,2474.8999000,-1665.4000000,18.4000000,0.0000000,0.0000000,0.0000000); //object(binnt07_la) (4)
CreateObject(3175,2506.5000000,-1660.6000000,12.4000000,0.0000000,0.0000000,43.9950000); //object(sm_airstrm_med_) (1)
CreateObject(3175,2475.2000000,-1680.8000000,12.1000000,0.0000000,0.0000000,43.9950000); //object(sm_airstrm_med_) (2)
CreateObject(852,2497.6001000,-1678.1000000,12.4000000,0.0000000,0.0000000,0.0000000); //object(cj_urb_rub_4) (1)
CreateObject(852,2506.7000000,-1675.9000000,12.4000000,0.0000000,0.0000000,0.0000000); //object(cj_urb_rub_4) (2)
CreateObject(9153,2496.3000000,-1672.4000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(bush14_lvs) (1)
CreateObject(9153,2462.3000000,-1659.3000000,12.8000000,0.0000000,0.0000000,0.0000000); //object(bush14_lvs) (2)
CreateObject(3593,2391.2000000,-1662.2000000,14.0000000,0.0000000,90.0000000,35.9970000); //object(la_fuckcar2) (9)
CreateObject(3593,2381.8000000,-1651.9000000,13.0000000,0.0000000,3.9990000,35.9970000); //object(la_fuckcar2) (9)
CreateObject(3593,2371.8000000,-1665.4000000,13.0000000,0.0000000,3.9990000,191.9970000); //object(la_fuckcar2) (9)
//Base ADM
RedRadar= GangZoneCreate(-3334.758544, -3039.903808, 3049.241455, 3184.096191);
SetGameModeText("Teste Script");
UsePlayerPedAnims();
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 729, 1527.0703, -940.7031, 39.1797, 0.25);
RemoveBuildingForPlayer(playerid, 1232, 1619.0000, -1260.7500, 19.1484, 0.25);
RemoveBuildingForPlayer(playerid, 717, 1622.1406, -1267.1875, 16.7734, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1621.9531, -1262.3750, 18.3281, 0.25);
RemoveBuildingForPlayer(playerid, 717, 1622.1406, -1255.6094, 16.7813, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1626.2188, -1262.5859, 16.8906, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1626.2188, -1258.1250, 16.8906, 0.25);
RemoveBuildingForPlayer(playerid, 762, 1549.2734, -980.7578, 40.6094, 0.25);
RemoveBuildingForPlayer(playerid, 703, 1619.9609, -888.5000, 52.2344, 0.25);
RemoveBuildingForPlayer(playerid, 762, 1639.4844, -953.6797, 34.7422, 0.25);
RemoveBuildingForPlayer(playerid, 762, 1652.8828, -855.4063, 61.0469, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1261.9531, -913.7813, 41.8750, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1275.6016, -911.9609, 41.8750, 0.25);
RemoveBuildingForPlayer(playerid, 791, 1293.7656, -409.7656, 3.4766, 0.25);
RemoveBuildingForPlayer(playerid, 714, 1239.6953, -703.4531, 97.7188, 0.25);
RemoveBuildingForPlayer(playerid, 714, 1559.0625, -886.3047, 49.7031, 0.25);
RemoveBuildingForPlayer(playerid, 714, 1640.7813, -799.7578, 57.5313, 0.25);
RemoveBuildingForPlayer(playerid, 710, 1409.6328, -883.6172, 58.0859, 0.25);
RemoveBuildingForPlayer(playerid, 710, 1255.0391, -821.5313, 91.3672, 0.25);
RemoveBuildingForPlayer(playerid, 710, 1265.7500, -833.4141, 89.5938, 0.25);
RemoveBuildingForPlayer(playerid, 710, 1297.0156, -824.4063, 91.6328, 0.25);
RemoveBuildingForPlayer(playerid, 709, 1628.7891, -522.0703, 58.8828, 0.25);
RemoveBuildingForPlayer(playerid, 714, 1632.3359, -451.2891, 44.7188, 0.25);
RemoveBuildingForPlayer(playerid, 708, 1688.4766, -634.6719, 40.4141, 0.25);
RemoveBuildingForPlayer(playerid, 708, 1734.1172, -443.0859, 45.0000, 0.25);
RemoveBuildingForPlayer(playerid, 706, 1465.8047, -475.2813, 52.1953, 0.25);
RemoveBuildingForPlayer(playerid, 791, 1421.0938, -407.2734, 33.2734, 0.25);
RemoveBuildingForPlayer(playerid, 709, 1360.4766, -471.4375, 52.1328, 0.25);
RemoveBuildingForPlayer(playerid, 791, 1802.4766, -462.8906, 77.1641, 0.25);
RemoveBuildingForPlayer(playerid, 694, 1797.2656, -388.1094, 86.9063, 0.25);
RemoveBuildingForPlayer(playerid, 790, 1893.9844, -678.1016, 98.8594, 0.25);
RemoveBuildingForPlayer(playerid, 694, 1812.8906, -660.2734, 84.8516, 0.25);
RemoveBuildingForPlayer(playerid, 693, 1829.8516, -624.2266, 80.1094, 0.25);
RemoveBuildingForPlayer(playerid, 714, 1772.8906, -787.5859, 60.3203, 0.25);
RemoveBuildingForPlayer(playerid, 709, 1824.2734, -884.4063, 56.8906, 0.25);
RemoveBuildingForPlayer(playerid, 708, 1763.7031, -883.1328, 55.1953, 0.25);
RemoveBuildingForPlayer(playerid, 708, 1833.5156, -798.6641, 75.3828, 0.25);
RemoveBuildingForPlayer(playerid, 714, 1481.6484, -638.4844, 90.2422, 0.25);
RemoveBuildingForPlayer(playerid, 708, 1518.8828, -611.6250, 85.8594, 0.25);
RemoveBuildingForPlayer(playerid, 710, 1429.9688, -645.6406, 108.3047, 0.25);
RemoveBuildingForPlayer(playerid, 710, 1412.5469, -646.5313, 106.0859, 0.25);
RemoveBuildingForPlayer(playerid, 710, 1416.7500, -661.6094, 108.8516, 0.25);
RemoveBuildingForPlayer(playerid, 709, 1450.2188, -553.2813, 78.9141, 0.25);
RemoveBuildingForPlayer(playerid, 694, 1339.1172, -423.6172, 31.5859, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1847.8047, -946.3359, 49.2422, 0.25);
RemoveBuildingForPlayer(playerid, 659, 1518.9141, -912.9297, 43.1016, 0.25);
RemoveBuildingForPlayer(playerid, 656, 1549.9688, -908.7109, 42.3125, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1229.3672, -819.3828, 84.7109, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1306.5078, -836.1250, 71.8672, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1297.3750, -831.8359, 74.9531, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1264.4453, -824.7500, 75.3672, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1306.9922, -821.7344, 75.2266, 0.25);
RemoveBuildingForPlayer(playerid, 656, 1271.2969, -712.4922, 92.9219, 0.25);
RemoveBuildingForPlayer(playerid, 621, 1318.0234, -847.6094, 59.6328, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1375.0859, -813.5391, 69.5703, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1317.4297, -812.0938, 75.2969, 0.25);
RemoveBuildingForPlayer(playerid, 656, 1376.8047, -775.8750, 91.6641, 0.25);
RemoveBuildingForPlayer(playerid, 621, 1339.0547, -678.6172, 92.9375, 0.25);
RemoveBuildingForPlayer(playerid, 656, 1394.4141, -676.8203, 90.3203, 0.25);
RemoveBuildingForPlayer(playerid, 656, 1375.4609, -660.1094, 94.7734, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1451.5938, -649.7422, 93.0625, 0.25);
RemoveBuildingForPlayer(playerid, 656, 1394.2656, -631.5313, 87.4063, 0.25);
RemoveBuildingForPlayer(playerid, 621, 1586.8359, -875.8359, 49.5781, 0.25);
RemoveBuildingForPlayer(playerid, 656, 1519.7188, -866.5859, 61.9297, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1622.2891, -846.7500, 56.3203, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1531.3906, -834.7891, 58.4219, 0.25);
RemoveBuildingForPlayer(playerid, 621, 1629.3047, -828.3359, 57.3750, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1726.9844, -826.2109, 56.1406, 0.25);
RemoveBuildingForPlayer(playerid, 621, 1526.6797, -826.1875, 66.4375, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1849.3672, -807.4453, 76.7891, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1732.3516, -799.3281, 54.9531, 0.25);
RemoveBuildingForPlayer(playerid, 659, 1492.5781, -751.7656, 88.7109, 0.25);
RemoveBuildingForPlayer(playerid, 659, 1504.4531, -750.4141, 86.4297, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1724.1172, -746.0234, 50.4922, 0.25);
RemoveBuildingForPlayer(playerid, 659, 1497.8672, -740.7500, 90.0078, 0.25);
RemoveBuildingForPlayer(playerid, 673, 1470.5938, -735.1797, 91.2813, 0.25);
RemoveBuildingForPlayer(playerid, 659, 1508.0234, -733.8047, 89.2734, 0.25);
RemoveBuildingForPlayer(playerid, 673, 1480.4609, -732.8047, 91.2813, 0.25);
RemoveBuildingForPlayer(playerid, 673, 1490.2578, -731.0781, 90.9531, 0.25);
RemoveBuildingForPlayer(playerid, 659, 1495.6094, -728.3047, 92.1953, 0.25);
RemoveBuildingForPlayer(playerid, 673, 1468.5781, -725.0781, 91.2813, 0.25);
RemoveBuildingForPlayer(playerid, 673, 1478.4453, -722.7031, 91.2813, 0.25);
RemoveBuildingForPlayer(playerid, 673, 1488.2422, -720.9844, 92.5313, 0.25);
RemoveBuildingForPlayer(playerid, 659, 1503.7578, -720.7031, 91.6563, 0.25);
RemoveBuildingForPlayer(playerid, 659, 1492.1250, -716.1250, 93.5000, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1657.8281, -674.5469, 54.2422, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1662.1719, -641.8750, 53.2031, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1635.6172, -593.6484, 54.9531, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1680.3047, -541.7188, 44.9688, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1669.3594, -517.2656, 48.9922, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1749.6953, -514.6641, 47.5938, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1657.4844, -503.8828, 49.7734, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1645.8906, -490.0469, 49.9766, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1746.6563, -466.9688, 48.6328, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1653.9609, -460.7188, 44.1719, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1655.7500, -437.4141, 44.2031, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1724.9375, -417.1328, 42.5547, 0.25);
RemoveBuildingForPlayer(playerid, 3347, 1114.2969, -353.8203, 72.7969, 0.25);
RemoveBuildingForPlayer(playerid, 3347, 1107.5938, -358.5156, 72.7969, 0.25);
RemoveBuildingForPlayer(playerid, 13317, 2766.8594, 468.0469, 7.3203, 0.25);
RemoveBuildingForPlayer(playerid, 13327, 1551.6406, -322.7109, 21.1094, 0.25);
RemoveBuildingForPlayer(playerid, 785, 1150.3516, -343.1094, 58.4141, 0.25);
RemoveBuildingForPlayer(playerid, 785, 877.6250, -484.5391, 26.2500, 0.25);
RemoveBuildingForPlayer(playerid, 785, 1091.6094, -250.0078, 71.0391, 0.25);
RemoveBuildingForPlayer(playerid, 785, 924.1484, -478.4531, 38.2969, 0.25);
RemoveBuildingForPlayer(playerid, 785, 1207.6875, -465.2031, 13.6563, 0.25);
RemoveBuildingForPlayer(playerid, 785, 1049.5391, -482.7891, 50.0859, 0.25);
RemoveBuildingForPlayer(playerid, 785, 1492.5781, -373.0078, 30.4688, 0.25);
RemoveBuildingForPlayer(playerid, 785, 1284.2891, -340.3281, 3.8984, 0.25);
RemoveBuildingForPlayer(playerid, 785, 947.1094, -155.0469, 5.8828, 0.25);
RemoveBuildingForPlayer(playerid, 785, 695.8203, -350.1563, 5.3906, 0.25);
RemoveBuildingForPlayer(playerid, 785, 637.6406, -328.6875, 10.3203, 0.25);
RemoveBuildingForPlayer(playerid, 3413, 2766.7578, 364.9531, -4.4922, 0.25);
RemoveBuildingForPlayer(playerid, 3413, 2766.7578, 463.9922, -4.4922, 0.25);
RemoveBuildingForPlayer(playerid, 3413, 2766.7578, 562.8594, -4.4922, 0.25);
RemoveBuildingForPlayer(playerid, 791, 947.1094, -155.0469, 5.8828, 0.25);
RemoveBuildingForPlayer(playerid, 13561, 938.2500, -104.4219, 14.7500, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1012.2891, -282.5391, 73.8438, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1023.4219, -279.9063, 73.8438, 0.25);
RemoveBuildingForPlayer(playerid, 694, 1030.9688, -166.0234, 22.8516, 0.25);
RemoveBuildingForPlayer(playerid, 694, 1045.8438, -270.9453, 75.4219, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1047.3125, -280.3359, 73.8438, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1059.2266, -281.2656, 73.8438, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1082.9922, -283.6797, 73.8438, 0.25);
RemoveBuildingForPlayer(playerid, 791, 1091.6094, -250.0078, 71.0391, 0.25);
RemoveBuildingForPlayer(playerid, 694, 1130.1719, -278.6172, 70.7031, 0.25);
RemoveBuildingForPlayer(playerid, 694, 1124.7734, -493.4922, 53.5547, 0.25);
RemoveBuildingForPlayer(playerid, 694, 1137.7031, -313.9141, 68.9531, 0.25);
RemoveBuildingForPlayer(playerid, 13529, 1148.6953, -528.1641, 57.3125, 0.25);
RemoveBuildingForPlayer(playerid, 791, 1150.3516, -343.1094, 58.4141, 0.25);
RemoveBuildingForPlayer(playerid, 790, 1166.4766, -150.9922, 43.0469, 0.25);
RemoveBuildingForPlayer(playerid, 791, 1207.6875, -465.2031, 13.6563, 0.25);
RemoveBuildingForPlayer(playerid, 791, 1284.2891, -340.3281, 3.8984, 0.25);
RemoveBuildingForPlayer(playerid, 694, 1409.5781, -379.4609, 24.0781, 0.25);
RemoveBuildingForPlayer(playerid, 791, 1492.5781, -373.0078, 30.4688, 0.25);
RemoveBuildingForPlayer(playerid, 13325, 1551.6406, -322.7109, 21.1094, 0.25);
RemoveBuildingForPlayer(playerid, 694, 1818.7188, -570.7813, 76.6797, 0.25);
RemoveBuildingForPlayer(playerid, 790, 1925.0547, -751.7969, 117.1641, 0.25);
RemoveBuildingForPlayer(playerid, 3412, 2766.7578, 364.9531, -4.4922, 0.25);
RemoveBuildingForPlayer(playerid, 12831, 2766.8594, 468.0469, 7.3203, 0.25);
RemoveBuildingForPlayer(playerid, 3411, 2766.7578, 463.9922, -4.4922, 0.25);
RemoveBuildingForPlayer(playerid, 3412, 2766.7578, 464.1563, -4.4922, 0.25);
RemoveBuildingForPlayer(playerid, 3411, 2766.7578, 562.8594, -4.4922, 0.25);
RemoveBuildingForPlayer(playerid, 3412, 2766.7578, 562.8594, -4.4922, 0.25);
RemoveBuildingForPlayer(playerid, 791, 695.8203, -350.1563, 5.3906, 0.25);
RemoveBuildingForPlayer(playerid, 791, 637.6406, -328.6875, 10.3203, 0.25);
RemoveBuildingForPlayer(playerid, 694, 683.1016, -314.2891, 12.0938, 0.25);
RemoveBuildingForPlayer(playerid, 696, 593.7344, -301.9375, 20.0781, 0.25);
RemoveBuildingForPlayer(playerid, 698, 899.5156, -511.3281, 38.1406, 0.25);
RemoveBuildingForPlayer(playerid, 791, 877.6250, -484.5391, 26.2500, 0.25);
RemoveBuildingForPlayer(playerid, 705, 774.0469, -486.0703, 14.6328, 0.25);
RemoveBuildingForPlayer(playerid, 13530, 953.0234, -569.6953, 68.1406, 0.25);
RemoveBuildingForPlayer(playerid, 791, 924.1484, -478.4531, 38.2969, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1007.7969, -385.0078, 71.8438, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1007.6719, -361.6250, 73.8438, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1007.6250, -349.8984, 73.8438, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1007.5234, -326.4453, 73.8438, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1007.4766, -314.7188, 73.8438, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1007.4297, -302.9922, 73.8438, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1007.3828, -291.2578, 73.8438, 0.25);
RemoveBuildingForPlayer(playerid, 791, 1049.5391, -482.7891, 50.0859, 0.25);
RemoveBuildingForPlayer(playerid, 696, 1075.1641, -391.5078, 74.8281, 0.25);
RemoveBuildingForPlayer(playerid, 698, 1053.2891, -378.6719, 74.4297, 0.25);
RemoveBuildingForPlayer(playerid, 698, 1092.4688, -383.6172, 74.8906, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1083.6641, -368.5313, 73.8438, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1071.9375, -368.5156, 73.8438, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1060.2109, -368.4922, 73.8438, 0.25);
RemoveBuildingForPlayer(playerid, 700, 1095.3828, -327.4766, 73.1797, 0.25);
RemoveBuildingForPlayer(playerid, 656, 1096.6250, -294.4141, 72.9375, 0.25);
RemoveBuildingForPlayer(playerid, 3175, 1107.5938, -358.5156, 72.7969, 0.25);
RemoveBuildingForPlayer(playerid, 3276, 1107.1172, -368.5703, 73.8438, 0.25);
RemoveBuildingForPlayer(playerid, 700, 1106.5469, -328.1641, 73.1797, 0.25);
RemoveBuildingForPlayer(playerid, 672, 1097.4688, -314.2109, 73.6641, 0.25);
RemoveBuildingForPlayer(playerid, 3175, 1114.2969, -353.8203, 72.7969, 0.25);
RemoveBuildingForPlayer(playerid, 656, 1116.4453, -326.7578, 72.9375, 0.25);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public mMensagens()
{
new random2 = random(sizeof(RandomColors));
new randMSG = random(sizeof(Mensagens));
SendClientMessageToAll(RandomColors[random2], Mensagens[randMSG]);
}
public OnPlayerDeath(playerid, killerid, reason)
{
GivePlayerWeapon(playerid, 46, 1);
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
GivePlayerWeapon(playerid, 46, 1);
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid,-1,"{FF0000} SE FODEU ");
return 1;
}
if (strcmp("/armask7", cmdtext, true, 10) == 0)
{
GivePlayerWeapon(playerid, 43, 999999);
GivePlayerWeapon(playerid, 30, 999999);
GivePlayerWeapon(playerid, 26, 999999);
GivePlayerWeapon(playerid, 20, 999999);
return 1;
}
if (strcmp("/cnn", cmdtext, true, 10) == 0)
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xFFFFFFFF,"ERRO: Vocк nгo й administrador");
static
sStr[128],
sName[24];
GetPlayerName(playerid, sName, sizeof sName );
format(sStr, sizeof sStr, cmdtext[4]);
if(!sStr[0]) return SendClientMessage(playerid,-1, "USE: /cnn [texto]");
format(sStr,sizeof(sStr), "~y~%s: ~r~%s",sName,sStr);
return GameTextForAll(sStr,5000,6);
}
return SendClientMessage(playerid,0xFF0000AA, "Comando inexistente por aqui...");
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
SetPlayerHealth (playerid, 1200);
GivePlayerWeapon(playerid, 46, 1);
GangZoneShowForPlayer(playerid,RedRadar,0xFF000096);
new Random = random(sizeof(RandomSpawns));
SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]);
SetPlayerFacingAngle(playerid, RandomSpawns[Random][3]);
SetPlayerInterior(playerid, 0);
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid,-1,"{FF0000} SEJA BEM VINDO AO SERVER ");
return 1;
}
public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}
public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}
public OnPlayerUpdate(playerid)
{
return 1;
}
public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}
public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}
public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}
public OnPlayerUpdate(playerid)
{
if(gPlayerLogged[playerid] != 0);
{
new Float:Health;
GetPlayerHealth(playerid,Health);
new humanity = AccountInfo[playerid][pHumanity];
new newtext3[900], jtext[900], atext[900], btext[900];
if(AccountInfo[playerid][pGroup] == 1) { jtext = "Survivor"; }
else if(AccountInfo[playerid][pGroup] == 2) { jtext = "Bandit"; }
else if(AccountInfo[playerid][pGroup] == 3) { jtext = "BadAss"; }
if(AccountInfo[playerid][pBackPackType] == 0) { atext = "Small Pack"; }
else if(AccountInfo[playerid][pBackPackType] == 1) { atext = "Medium Pack"; }
else if(AccountInfo[playerid][pBackPackType] == 2) { atext = "Large Pack"; }
else if(AccountInfo[playerid][pBackPackType] == 3) { atext = "Massive Pack"; }
if(AccountInfo[playerid][pBloodBag] == 0) { btext = "Empty"; }
else if(AccountInfo[playerid][pBloodBag] == 1) { btext = "Full"; }
format( newtext3, sizeof ( newtext3 ), "Blood Amount: %.0f%~n~Humanity: %d~n~Rank: %s~n~Blood Bag: %s~n~Backpack: %s~n~Vip Level: %d",Health,humanity,jtext,btext,atext,AccountInfo[playerid][pVip]);
TextDrawSetString(Textdraw4[playerid], newtext3);
}
if(IsPlayerInWater(playerid))
{
if(AccountInfo[playerid][pWaterBottle] > 0)
{
GameTextForPlayer(playerid, "~g~Filling Water Bottle",4000,3);
TogglePlayerControllable(playerid, 0);
AccountInfo[playerid][pWaterBottle] = 0;
SetTimerEx("fillbottle", 4000, false, "i", playerid);
}
}
SetProgressBarValue(Thirst[playerid], Thirsty[ playerid ] * 10.0 );
UpdateProgressBar(Thirst[playerid], playerid);
SetProgressBarValue(Hunger[playerid], Hungry[ playerid ] * 10.0);
UpdateProgressBar(Hunger[playerid], playerid);
if ( Hungry[ playerid ] == 10 )
IsHungry(playerid);
new Float:Armour;
new pName[MAX_PLAYER_NAME];
GetPlayerArmour(playerid,Armour);
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
return 1;
}
stock IsHungry(playerid)
{
GameTextForPlayer(playerid, "~r~Get Food",3500,5);
SetPlayerDrunkLevel(playerid, 6000);
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
TogglePlayerControllable(playerid, 0);
SetPlayerHealth(playerid, -2);
return 1;
}
public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}