error
#8

Oh god, I said UNCOMMENT.
pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
new lift;
#else

main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{

AddStaticVehicleEx(541,-80.59999847,2271.89990234,127.80000305,353.99597168,-1,-1,15); //Bullet
AddStaticVehicleEx(520,-87.80000305,2276.69995117,127.30000305,305.99829102,-1,-1,15); //Hydra
CreateObject(10444,-2058.89941406,1726.00000000,9.39999962,0.00000000,0.00000000,305.99670410); //object(poolwater_sfs) (1)
CreateObject(4264,-2258.82812500,1533.03125000,-57.32031250,0.00000000,0.00000000,0.00000000); //object(sbseabed1_sfw) (1)
CreateObject(4264,-2258.82812500,1533.03125000,-57.32031250,0.00000000,0.00000000,0.00000000); //object(sbseabed1_sfw) (3)
CreateObject(3598,-89.59999847,2262.69995117,133.89999390,0.00000000,0.00000000,169.41369629); //object(hillhouse01_la) (1)
CreateObject(5443,-110.00000000,2275.39990234,125.90000153,0.00000000,0.00000000,170.49597168); //object(laeglenpark02) (1)
CreateObject(9019,-84.30000305,2275.89990234,127.59999847,0.00000000,0.00000000,79.98999023); //object(luxortrees01_lvs) (1)
CreateObject(654,-75.40000153,2266.00000000,124.90000153,0.00000000,0.00000000,0.00000000); //object(pinetree08) (1)
CreateObject(654,-104.90000153,2273.19995117,125.80000305,0.00000000,0.00000000,0.00000000); //object(pinetree08) (2)
CreateObject(3526,-80.00000000,2253.19995117,125.40000153,0.00000000,0.00000000,358.00000000); //object(vegasairportlight) (1)
CreateObject(3526,-79.00000000,2261.80004883,125.50000000,0.00000000,0.00000000,353.99499512); //object(vegasairportlight) (3)
CreateObject(3526,-79.50000000,2258.00000000,125.50000000,0.00000000,0.00000000,357.99499512); //object(vegasairportlight) (4)
CreateObject(3526,-78.50000000,2268.00000000,125.59999847,0.00000000,0.00000000,351.99499512); //object(vegasairportlight) (5)
CreateObject(3526,-88.80000305,2268.89990234,125.50000000,0.00000000,0.00000000,173.98803711); //object(vegasairportlight) (7)
CreateObject(3526,-89.40000153,2262.30004883,125.59999847,0.00000000,0.00000000,173.98498535); //object(vegasairportlight) (8)
CreateObject(3526,-89.79980469,2256.79980469,125.50000000,0.00000000,0.00000000,173.98498535); //object(vegasairportlight) (9)
CreateObject(969,-110.59999847,2251.30004883,125.40000153,0.00000000,0.00000000,356.00000000); //object(electricgate) (1)
CreateObject(18102,-78.50000000,2259.60009766,137.50000000,0.00000000,0.00000000,0.00000000); //object(light_box1) (1)
CreateObject(18102,-78.00000000,2264.30004883,137.50000000,0.00000000,0.00000000,0.00000000); //object(light_box1) (2)
    //lift
lift = CreateObject(9345,-138.69999695,2301.39990234,125.00000000,0.00000000,0.00000000,349.99694824); //object(sfn_pier_grassbit) (1)

return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
}

public OnPlayerSpawn(playerid)
{
    GivePlayerWeapon(playerid, 26,5000);
    GivePlayerWeapon(playerid, 30,5000);
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext,"/liftup",true)==0)//lift
    {
    MoveObject(lift, -1071.30688477, -960.65771484, 131.32711792, 2.00);
    return 1;
    }
    if(strcmp(cmdtext,"/ldown",true)==0)//lift
    {
    MoveObject(lift, -139.00000000,2304.60009766,29.29999924, 2.00);
    return 1;
    }
    return 0;
}
Reply


Messages In This Thread
error - by viosteaua98 - 17.10.2011, 15:43
Re: error - by Stigg - 17.10.2011, 15:45
Re: error - by viosteaua98 - 17.10.2011, 15:50
Re: error - by [Diablo] - 17.10.2011, 15:54
Re: error - by SmiT - 17.10.2011, 15:55
Re: error - by viosteaua98 - 17.10.2011, 16:00
Re: error - by [Diablo] - 17.10.2011, 16:01
Re: error - by SmiT - 17.10.2011, 16:02
Re: error - by Stigg - 17.10.2011, 16:02
Re: error - by viosteaua98 - 17.10.2011, 16:38

Forum Jump:


Users browsing this thread: 1 Guest(s)