[AJUDA]Erro Loop
#1

OI GENTE FIZ UM LOOP TA DANDO ESSE ERRO
Код:
C:\Users\Moises\Desktop\Serve 0.3c R2\filterscripts\loop.pwn(17) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Reply
#2

Idente o cуdigo, caso nгo saiba poste-o aqui pra eu ajudб-lo
Reply
#3

postei no paste bin olha ae http://pastebin.com/pQrN8zQz
Reply
#4

bom, na real isto nгo й um erro, o Warning й um aviso de que algo pode funcionar mal.
No seu caso й apenas uma mб identaзгo...
Reply
#5

pawn Код:
#include <a_samp>
#include <core>
#include <float>
#include <streamer>
#include <time>
#include <Dini>

#define COR_M 0xFFFF00AA

public OnFilterScriptInit()
{
    print("\n*****************************************");
    print("*              Criado Por                 *");
    print("*             .!!Moises!!.                *");
    print("****************************************\n");

    CreateObject(18450,-2384.20996094,2875.08593750,335.25277710,0.00000000,39.52880859,269.86267090); //convertffs(7)
    CreateObject(18450,-2384.36474600,2813.42871100,284.36798100,0.00000000,39.53410000,269.86320000); //convertffs(8)
    CreateObject(18450,-2384.51660200,2751.76171900,233.47552500,0.00000000,39.53410000,269.86320000); //convertffs(9)
    CreateObject(18450,-2384.61303700,2715.05664100,203.17950400,0.00000000,39.53410000,269.86320000); //convertffs(10)
    CreateObject(18450,-2384.74877900,2644.72119100,146.79820300,0.00000000,36.09630000,269.86320000); //convertffs(11)
    CreateObject(18450,-2384.74292000,2643.66430700,147.91757200,0.00000000,29.22080000,269.86320000); //convertffs(12)
    CreateObject(18450,-2384.76855500,2642.80737300,148.44026200,0.00000000,22.34540000,269.86320000); //convertffs(13)
    CreateObject(18450,-2384.78198200,2640.79174800,148.29982000,0.00000000,15.46990000,269.86320000); //convertffs(14)
    CreateObject(18450,-2384.77832000,2638.12402300,148.02630600,0.00000000,8.59440000,269.86320000); //convertffs(15)
    CreateObject(18450,-2384.79516600,2634.49096700,147.47747800,0.00000000,1.71890000,269.86320000); //convertffs(16)
    CreateObject(18450,-2384.80200200,2633.28540000,146.91941800,0.00000000,354.84340000,269.86320000); //convertffs(17)
    CreateObject(18450,-2384.82714800,2625.93701200,147.42903100,0.00000000,347.96790000,269.86320000); //convertffs(18)
    CreateObject(18450,-2384.83227500,2622.51367200,147.74813800,0.00000000,341.09240000,269.86320000); //convertffs(19)
    CreateObject(18450,-2384.86792000,2616.04028300,149.86071800,0.00000000,334.21690000,269.86320000); //convertffs(20)
    CreateObject(18450,-2384.85522500,2613.17602500,150.94383200,0.00000000,327.34140000,269.86320000); //convertffs(21)
    CreateObject(18450,-2384.87207000,2608.91626000,153.26205400,0.00000000,320.46590000,269.86320000); //convertffs(22)
    CreateObject(18450,-2384.89013700,2604.74169900,156.33309900,0.00000000,313.59050000,269.86320000); //convertffs(23)
    CreateObject(18450,-2384.89331100,2601.72705100,158.86448700,0.00000000,306.71500000,269.86320000); //convertffs(24)
    CreateObject(18450,-2384.89062500,2598.49536100,162.45288100,0.00000000,299.83950000,269.86320000); //convertffs(25)
    CreateObject(18450,-2384.89917000,2595.96850600,166.28036500,0.00000000,292.96400000,269.86320000); //convertffs(26)
    CreateObject(18450,-2384.91040000,2593.97485400,169.93678300,0.00000000,286.08850000,269.86320000); //convertffs(27)
    CreateObject(18450,-2384.90405300,2592.63159200,172.74989300,0.00000000,279.21300000,269.86320000); //convertffs(28)
    CreateObject(18450,-2384.90210000,2591.47924800,175.76066600,0.00000000,272.33750000,269.86320000); //convertffs(29)
    CreateObject(18450,-2384.90844700,2590.59008800,178.19493100,0.00000000,265.46200000,269.86320000); //convertffs(30)
    CreateObject(18450,-2384.90405300,2589.94067400,181.37353500,0.00000000,258.58650000,269.86320000); //convertffs(31)
    CreateObject(18450,-2384.92163100,2589.96606400,185.65901200,0.00000000,251.71110000,269.86320000); //convertffs(32)
    CreateObject(18450,-2384.90820300,2590.38085900,189.75044300,0.00000000,244.83560000,269.86320000); //convertffs(33)
    CreateObject(18450,-2384.90722700,2592.48315400,195.83776900,0.00000000,237.96000000,269.86320000); //convertffs(34)
    CreateObject(18450,-2384.91479500,2594.49951200,200.30113200,0.00000000,231.08450000,269.86320000); //convertffs(35)
    CreateObject(18450,-2384.92895500,2596.03051800,203.39971900,0.00000000,224.20890000,269.86320000); //convertffs(36)
    CreateObject(18450,-2384.88696300,2599.60498000,207.76817300,0.00000000,217.33340000,269.86320000); //convertffs(37)
    CreateObject(18450,-2384.91040000,2602.19531300,210.60696400,0.00000000,210.45780000,269.86320000); //convertffs(38)
    CreateObject(18450,-2384.89404300,2605.37060500,213.32727100,0.00000000,203.58230000,269.86320000); //convertffs(39)
    CreateObject(18450,-2384.88403300,2607.03002900,215.15496800,0.00000000,196.70680000,269.86320000); //convertffs(40)
    CreateObject(18450,-2384.87695300,2610.47460900,217.31852700,0.00000000,189.83120000,269.86320000); //convertffs(41)
    CreateObject(18450,-2384.85766600,2613.93969700,219.31457500,0.00000000,182.95570000,269.86320000); //convertffs(42)
    CreateObject(18450,-2384.85156300,2619.71411100,220.86221300,0.00000000,176.08010000,269.86320000); //convertffs(43)
    CreateObject(18450,-2384.82739300,2625.52026400,221.60736100,0.00000000,169.20460000,269.86320000); //convertffs(44)
    CreateObject(18450,-2384.81591800,2631.17675800,221.56008900,0.00000000,162.32910000,269.86320000); //convertffs(45)
    CreateObject(18450,-2384.81445300,2638.81201200,219.80230700,0.00000000,155.45360000,269.86320000); //convertffs(46)
    CreateObject(18450,-2384.79638700,2642.72143600,218.84246800,0.00000000,148.57800000,269.86320000); //convertffs(47)
    CreateObject(18450,-2384.79150400,2646.36572300,217.64489700,0.00000000,141.70240000,269.86320000); //convertffs(48)
    CreateObject(18450,-2384.79394500,2649.73608400,216.30973800,0.00000000,134.82690000,269.86320000); //convertffs(49)
    CreateObject(18450,-2384.66162100,2693.92089800,139.22651700,0.00000000,103.88740000,269.86320000); //convertffs(50)
    CreateObject(18450,-2384.66040000,2691.64135700,141.11296100,0.00000000,95.29310000,269.86320000); //convertffs(51)
    CreateObject(18450,-2384.65795900,2690.64770500,144.99931300,0.00000000,86.69880000,269.86320000); //convertffs(52)
    CreateObject(18450,-2384.66796900,2691.34252900,149.03320300,0.00000000,78.10450000,269.86320000); //convertffs(53)
    CreateObject(18450,-2384.66650400,2691.55029300,146.76051300,0.00000000,69.51020000,269.86320000); //convertffs(54)
    CreateObject(18450,-2384.65918000,2689.42968800,140.52722200,0.00000000,60.91590000,269.86320000); //convertffs(55)
    CreateObject(18450,-2384.65918000,2688.98974600,138.79005400,0.00000000,52.32170000,269.86320000); //convertffs(56)
    CreateObject(18450,-2384.66528300,2687.39453100,135.93705700,0.00000000,43.72740000,269.86320000); //convertffs(57)
    CreateObject(18450,-2384.67041000,2681.80127000,130.79638700,0.00000000,35.13300000,269.86320000); //convertffs(58)
    CreateObject(18450,-2384.82617200,2616.58398400,84.90470900,0.00000000,35.13300000,269.86320000); //convertffs(59)
    CreateObject(18450,-2384.91235400,2586.98828100,63.71246300,0.00000000,29.11700000,269.86320000); //convertffs(60)
    CreateObject(18450,-2384.98925781,2555.24902344,48.68688965,0.00000000,23.09875488,269.86267090); //convertffs(61)
    CreateObject(18450,-2384.06127930,2934.49462891,384.29586792,0.00000000,39.52880859,269.86267090); //convertffs(7)
    CreateObject(18450,-2383.77343750,3056.33764648,484.89599609,0.00000000,39.52880859,269.85717773); //convertffs(7)
    CreateObject(18450,-2383.90527344,2994.99902344,434.25604248,0.00000000,39.52880859,269.85717773); //convertffs(7)
    CreateObject(18450,-2383.65063477,3126.98535156,510.35250854,0.00000000,0.00000000,269.85717773); //convertffs(7)
    CreateObject(18450,-2383.68554688,3163.34375000,513.25659180,0.00000000,89.74731445,269.85717773); //convertffs(7)
    CreateObject(18450,-2385.12744141,2508.64331055,36.67637634,0.00000000,9.09875488,269.86267090); //convertffs(61)
    CreateObject(18450,-2385.14257812,2504.18457031,32.54985809,0.00000000,15.09521484,269.85717773); //convertffs(61)
    CreateObject(18450,-2385.06616211,2522.85693359,37.80921173,0.00000000,356.84216309,269.85717773); //convertffs(61)
    CreateObject(18450,-2385.09375000,2506.53515625,38.14904022,0.00000000,5.09216309,269.85717773); //convertffs(61)
    CreateObject(18450,-2385.10058594,2494.38183594,42.12714005,0.00000000,344.84143066,269.85717773); //convertffs(61)
    CreateObject(18450,-2385.13354492,2496.63183594,42.12714005,0.00000000,334.83886719,269.85717773); //convertffs(61)
    CreateObject(18450,-2383.67114258,3163.03051758,522.73223877,0.00000000,179.74743652,269.85717773); //convertffs(7)
    CreateObject(18450,-2383.81665039,3127.34326172,522.73223877,0.00000000,179.74731445,269.85717773); //convertffs(7)
    AddStaticVehicle(557,-2386.57690430,3157.38012695,510.69625854,182.00000000,-1,-1); //Monster B
    AddStaticVehicle(557,-2381.08154297,3157.57324219,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2380.83496094,3150.58007812,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2386.32958984,3150.38671875,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2386.06542969,3142.89404297,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2380.57080078,3143.08691406,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2380.30664062,3135.59423828,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2385.80126953,3135.40039062,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2385.52832031,3127.65795898,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2380.03369141,3127.85058594,510.69625854,181.99951172,-1,-1); //Monster B
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    new stringa[MAX_PLAYERS];
    if(strcmp(cmdtext, "/loop", true) == 0)
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            new VehicleID;
            VehicleID = GetPlayerVehicleID(playerid);
            SetVehiclePos(VehicleID,-2383.8142,3106.5679,512.9656);
            SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
            new pname[MAX_PLAYERS];
            GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
            format(stringa, sizeof(stringa), " %s Foi Para o Monster Loop ( /Loop )", pname);
            SendClientMessageToAll(COR_M, stringa);
            ResetPlayerWeapons(playerid);
            SetPlayerInterior(playerid,0);
            SetPlayerArmour(playerid, 100.0);
            SetPlayerHealth(playerid, 100.0);
        }
        else
        {
            SetPlayerPos(playerid,-2383.8376,3155.0940,513.5756);
            new pname[MAX_PLAYERS];
            GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
            format(stringa, sizeof(stringa), " %s Foi Para o Monster Loop ( /Loop )", pname);
            SendClientMessageToAll(COR_M, stringa);
            ResetPlayerWeapons(playerid);
            SetPlayerInterior(playerid,0);
            SetPlayerArmour(playerid, 100.0);
            SetVehicleHealth(playerid, 100.0);
        }
        return 1;
    }
    return 0;
}
Reply
#6

ta dando erro quando eu entro tipo quando eu vou entra sai ao mesmo tempo '-'
Reply
#7

/\ nгo deu pra entender o que vocк quer dizer, explique mais detalhado por favor.
Reply
#8

tipo voce entra no jogo faz o login e depois fecha automatico
Reply
#9

pawn Код:
#include <a_samp>
#include <core>
#include <float>
#include <streamer>
#include <time>
#include <Dini>

#define COR_M 0xFFFF00AA

public OnFilterScriptInit()
{
    print("\n*****************************************");
    print("*              Criado Por                 *");
    print("*             .!!Moises!!.                *");
    print("****************************************\n");

    CreateObject(18450,-2384.20996094,2875.08593750,335.25277710,0.00000000,39.52880859,269.86267090); //convertffs(7)
    CreateObject(18450,-2384.36474600,2813.42871100,284.36798100,0.00000000,39.53410000,269.86320000); //convertffs(8)
    CreateObject(18450,-2384.51660200,2751.76171900,233.47552500,0.00000000,39.53410000,269.86320000); //convertffs(9)
    CreateObject(18450,-2384.61303700,2715.05664100,203.17950400,0.00000000,39.53410000,269.86320000); //convertffs(10)
    CreateObject(18450,-2384.74877900,2644.72119100,146.79820300,0.00000000,36.09630000,269.86320000); //convertffs(11)
    CreateObject(18450,-2384.74292000,2643.66430700,147.91757200,0.00000000,29.22080000,269.86320000); //convertffs(12)
    CreateObject(18450,-2384.76855500,2642.80737300,148.44026200,0.00000000,22.34540000,269.86320000); //convertffs(13)
    CreateObject(18450,-2384.78198200,2640.79174800,148.29982000,0.00000000,15.46990000,269.86320000); //convertffs(14)
    CreateObject(18450,-2384.77832000,2638.12402300,148.02630600,0.00000000,8.59440000,269.86320000); //convertffs(15)
    CreateObject(18450,-2384.79516600,2634.49096700,147.47747800,0.00000000,1.71890000,269.86320000); //convertffs(16)
    CreateObject(18450,-2384.80200200,2633.28540000,146.91941800,0.00000000,354.84340000,269.86320000); //convertffs(17)
    CreateObject(18450,-2384.82714800,2625.93701200,147.42903100,0.00000000,347.96790000,269.86320000); //convertffs(18)
    CreateObject(18450,-2384.83227500,2622.51367200,147.74813800,0.00000000,341.09240000,269.86320000); //convertffs(19)
    CreateObject(18450,-2384.86792000,2616.04028300,149.86071800,0.00000000,334.21690000,269.86320000); //convertffs(20)
    CreateObject(18450,-2384.85522500,2613.17602500,150.94383200,0.00000000,327.34140000,269.86320000); //convertffs(21)
    CreateObject(18450,-2384.87207000,2608.91626000,153.26205400,0.00000000,320.46590000,269.86320000); //convertffs(22)
    CreateObject(18450,-2384.89013700,2604.74169900,156.33309900,0.00000000,313.59050000,269.86320000); //convertffs(23)
    CreateObject(18450,-2384.89331100,2601.72705100,158.86448700,0.00000000,306.71500000,269.86320000); //convertffs(24)
    CreateObject(18450,-2384.89062500,2598.49536100,162.45288100,0.00000000,299.83950000,269.86320000); //convertffs(25)
    CreateObject(18450,-2384.89917000,2595.96850600,166.28036500,0.00000000,292.96400000,269.86320000); //convertffs(26)
    CreateObject(18450,-2384.91040000,2593.97485400,169.93678300,0.00000000,286.08850000,269.86320000); //convertffs(27)
    CreateObject(18450,-2384.90405300,2592.63159200,172.74989300,0.00000000,279.21300000,269.86320000); //convertffs(28)
    CreateObject(18450,-2384.90210000,2591.47924800,175.76066600,0.00000000,272.33750000,269.86320000); //convertffs(29)
    CreateObject(18450,-2384.90844700,2590.59008800,178.19493100,0.00000000,265.46200000,269.86320000); //convertffs(30)
    CreateObject(18450,-2384.90405300,2589.94067400,181.37353500,0.00000000,258.58650000,269.86320000); //convertffs(31)
    CreateObject(18450,-2384.92163100,2589.96606400,185.65901200,0.00000000,251.71110000,269.86320000); //convertffs(32)
    CreateObject(18450,-2384.90820300,2590.38085900,189.75044300,0.00000000,244.83560000,269.86320000); //convertffs(33)
    CreateObject(18450,-2384.90722700,2592.48315400,195.83776900,0.00000000,237.96000000,269.86320000); //convertffs(34)
    CreateObject(18450,-2384.91479500,2594.49951200,200.30113200,0.00000000,231.08450000,269.86320000); //convertffs(35)
    CreateObject(18450,-2384.92895500,2596.03051800,203.39971900,0.00000000,224.20890000,269.86320000); //convertffs(36)
    CreateObject(18450,-2384.88696300,2599.60498000,207.76817300,0.00000000,217.33340000,269.86320000); //convertffs(37)
    CreateObject(18450,-2384.91040000,2602.19531300,210.60696400,0.00000000,210.45780000,269.86320000); //convertffs(38)
    CreateObject(18450,-2384.89404300,2605.37060500,213.32727100,0.00000000,203.58230000,269.86320000); //convertffs(39)
    CreateObject(18450,-2384.88403300,2607.03002900,215.15496800,0.00000000,196.70680000,269.86320000); //convertffs(40)
    CreateObject(18450,-2384.87695300,2610.47460900,217.31852700,0.00000000,189.83120000,269.86320000); //convertffs(41)
    CreateObject(18450,-2384.85766600,2613.93969700,219.31457500,0.00000000,182.95570000,269.86320000); //convertffs(42)
    CreateObject(18450,-2384.85156300,2619.71411100,220.86221300,0.00000000,176.08010000,269.86320000); //convertffs(43)
    CreateObject(18450,-2384.82739300,2625.52026400,221.60736100,0.00000000,169.20460000,269.86320000); //convertffs(44)
    CreateObject(18450,-2384.81591800,2631.17675800,221.56008900,0.00000000,162.32910000,269.86320000); //convertffs(45)
    CreateObject(18450,-2384.81445300,2638.81201200,219.80230700,0.00000000,155.45360000,269.86320000); //convertffs(46)
    CreateObject(18450,-2384.79638700,2642.72143600,218.84246800,0.00000000,148.57800000,269.86320000); //convertffs(47)
    CreateObject(18450,-2384.79150400,2646.36572300,217.64489700,0.00000000,141.70240000,269.86320000); //convertffs(48)
    CreateObject(18450,-2384.79394500,2649.73608400,216.30973800,0.00000000,134.82690000,269.86320000); //convertffs(49)
    CreateObject(18450,-2384.66162100,2693.92089800,139.22651700,0.00000000,103.88740000,269.86320000); //convertffs(50)
    CreateObject(18450,-2384.66040000,2691.64135700,141.11296100,0.00000000,95.29310000,269.86320000); //convertffs(51)
    CreateObject(18450,-2384.65795900,2690.64770500,144.99931300,0.00000000,86.69880000,269.86320000); //convertffs(52)
    CreateObject(18450,-2384.66796900,2691.34252900,149.03320300,0.00000000,78.10450000,269.86320000); //convertffs(53)
    CreateObject(18450,-2384.66650400,2691.55029300,146.76051300,0.00000000,69.51020000,269.86320000); //convertffs(54)
    CreateObject(18450,-2384.65918000,2689.42968800,140.52722200,0.00000000,60.91590000,269.86320000); //convertffs(55)
    CreateObject(18450,-2384.65918000,2688.98974600,138.79005400,0.00000000,52.32170000,269.86320000); //convertffs(56)
    CreateObject(18450,-2384.66528300,2687.39453100,135.93705700,0.00000000,43.72740000,269.86320000); //convertffs(57)
    CreateObject(18450,-2384.67041000,2681.80127000,130.79638700,0.00000000,35.13300000,269.86320000); //convertffs(58)
    CreateObject(18450,-2384.82617200,2616.58398400,84.90470900,0.00000000,35.13300000,269.86320000); //convertffs(59)
    CreateObject(18450,-2384.91235400,2586.98828100,63.71246300,0.00000000,29.11700000,269.86320000); //convertffs(60)
    CreateObject(18450,-2384.98925781,2555.24902344,48.68688965,0.00000000,23.09875488,269.86267090); //convertffs(61)
    CreateObject(18450,-2384.06127930,2934.49462891,384.29586792,0.00000000,39.52880859,269.86267090); //convertffs(7)
    CreateObject(18450,-2383.77343750,3056.33764648,484.89599609,0.00000000,39.52880859,269.85717773); //convertffs(7)
    CreateObject(18450,-2383.90527344,2994.99902344,434.25604248,0.00000000,39.52880859,269.85717773); //convertffs(7)
    CreateObject(18450,-2383.65063477,3126.98535156,510.35250854,0.00000000,0.00000000,269.85717773); //convertffs(7)
    CreateObject(18450,-2383.68554688,3163.34375000,513.25659180,0.00000000,89.74731445,269.85717773); //convertffs(7)
    CreateObject(18450,-2385.12744141,2508.64331055,36.67637634,0.00000000,9.09875488,269.86267090); //convertffs(61)
    CreateObject(18450,-2385.14257812,2504.18457031,32.54985809,0.00000000,15.09521484,269.85717773); //convertffs(61)
    CreateObject(18450,-2385.06616211,2522.85693359,37.80921173,0.00000000,356.84216309,269.85717773); //convertffs(61)
    CreateObject(18450,-2385.09375000,2506.53515625,38.14904022,0.00000000,5.09216309,269.85717773); //convertffs(61)
    CreateObject(18450,-2385.10058594,2494.38183594,42.12714005,0.00000000,344.84143066,269.85717773); //convertffs(61)
    CreateObject(18450,-2385.13354492,2496.63183594,42.12714005,0.00000000,334.83886719,269.85717773); //convertffs(61)
    CreateObject(18450,-2383.67114258,3163.03051758,522.73223877,0.00000000,179.74743652,269.85717773); //convertffs(7)
    CreateObject(18450,-2383.81665039,3127.34326172,522.73223877,0.00000000,179.74731445,269.85717773); //convertffs(7)
    AddStaticVehicle(557,-2386.57690430,3157.38012695,510.69625854,182.00000000,-1,-1); //Monster B
    AddStaticVehicle(557,-2381.08154297,3157.57324219,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2380.83496094,3150.58007812,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2386.32958984,3150.38671875,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2386.06542969,3142.89404297,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2380.57080078,3143.08691406,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2380.30664062,3135.59423828,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2385.80126953,3135.40039062,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2385.52832031,3127.65795898,510.69625854,181.99951172,-1,-1); //Monster B
    AddStaticVehicle(557,-2380.03369141,3127.85058594,510.69625854,181.99951172,-1,-1); //Monster B
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/loop", true) == 0)
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            new VehicleID, pname[ MAX_PLAYER_NAME ], stringa[ 200 ];
            VehicleID = GetPlayerVehicleID(playerid);
            SetVehiclePos(VehicleID,-2383.8142,3106.5679,512.9656);
            SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
            GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
            format(stringa, sizeof(stringa), " %s Foi Para o Monster Loop ( /Loop )", pname);
            SendClientMessageToAll(COR_M, stringa);
            ResetPlayerWeapons(playerid);
            SetPlayerInterior(playerid,0);
            SetPlayerArmour(playerid, 100.0);
            SetPlayerHealth(playerid, 100.0);
        }
        else
        {
            new pname[ MAX_PLAYER_NAME ], stringa[ 200 ];
            SetPlayerPos(playerid,-2383.8376,3155.0940,513.5756);
            GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
            format(stringa, sizeof(stringa), " %s Foi Para o Monster Loop ( /Loop )", pname);
            SendClientMessageToAll(COR_M, stringa);
            ResetPlayerWeapons(playerid);
            SetPlayerInterior(playerid,0);
            SetPlayerArmour(playerid, 100.0);
            SetVehicleHealth(playerid, 100.0);
        }
        return 1;
    }
    return 0;
}
Reply
#10

ainda ta dando erro '-'
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)