New problem
#1

This error keeps occuring please help....


C:\Documents and Settings\Owner\My Documents\samp02Xserver.win32\pawno\LoC.pwn(37) : warning 217: loose indentation
C:\Documents and Settings\Owner\My Documents\samp02Xserver.win32\pawno\LoC.pwn(3 : warning 217: loose indentation
C:\Documents and Settings\Owner\My Documents\samp02Xserver.win32\pawno\LoC.pwn(73) : warning 217: loose indentation
C:\Documents and Settings\Owner\My Documents\samp02Xserver.win32\pawno\LoC.pwn(74) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Warnings.
Reply
#2

It's just a indentation problem, nothing much try fixxing your lines on 37, 38, 71 and 74
Reply
#3

Wrong section!

Those are warnings, not errors, your script will still work fine but read up on http://forum.sa-mp.com/index.php?topic=61893.0 and it will tell you how to fix them.

WeeDarr
Reply
#4

I didn't know what to do with the static/classes indent, so i just deleted, so when I try to set the gamemode to it, it doesn't work, suggestions?

And you guys seem pretty cool, so do I just put this SetPromotionMode(0-5); under my Ongameinit, and I replease the 0-5 to 1, how do i set the hours and such?

And when I try to start the server now, it just goes off, help?
Reply
#5

Maybe it isn't working because you deleted it?

I didn't understand the first bit but to set the hours you can use SetWorldTime(hour);

WeeDarr
Reply
#6

Quote:
Originally Posted by WeeDarr
Maybe it isn't working because you deleted it?

I didn't understand the first bit but to set the hours you can use SetWorldTime(hour);

WeeDarr
Well i didn't delete anything...
Can you tell me the requirements I need on my pawno to start it up, I have cars/classes, i have 1 welcome message, better yet here...

#include <a_samp>

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Life of Crime (FS)");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print("\n----------------------------------");
print(" Life of Crime (GM)");
print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("LoC");
AddStaticVehicle(416,1493.2990,-934.1716,37.3972,359.0922,1,3); //
AddStaticVehicle(420,1448.9949,-945.4383,35.8677,2.1421,6,1); //
AddStaticVehicle(422,1446.7054,-953.8813,36.0725,356.3179,97,25); //
AddStaticVehicle(426,1395.2919,-942.1647,34.3016,353.6530,37,37); //
AddStaticVehicle(427,1524.3308,-928.5380,41.3069,0.3262,0,1); //
AddStaticVehicle(429,1513.9962,-935.4762,38.9237,350.7881,13,13); //
AddStaticVehicle(430,1497.2738,-955.7122,36.0524,0.0007,46,26); //
AddStaticVehicle(431,1485.5167,-961.9568,36.3047,0.3676,75,59); //
AddStaticVehicle(436,1452.1334,-948.0306,35.8936,0.0132,87,1); //
AddStaticVehicle(438,1434.7103,-947.0873,36.1282,0.0004,6,76); //
AddStaticVehicle(445,1390.8057,-949.3660,34.2007,3.1591,37,37); //
AddStaticVehicle(448,1365.6893,-945.0588,33.7738,0.0000,3,6); //
AddStaticVehicle(453,1339.4812,-936.6913,35.4410,359.8919,56,56); //
AddStaticVehicle(461,1281.3130,-928.8085,41.4620,359.9598,37,1); //
AddStaticVehicle(462,1273.2581,-934.0222,41.6782,0.0154,13,13); //
AddStaticVehicle(463,1265.8740,-938.4119,41.8255,0.0343,84,84); //
AddStaticVehicle(405,1511.9426,-958.2486,36.1659,0.0002,36,1); //
AddStaticVehicle(407,1490.5864,-962.4407,36.4679,0.1525,3,1); //
AddStaticVehicle(409,1461.6270,-956.3229,36.0327,0.0088,1,1); //
AddStaticVehicle(402,1455.0292,-960.7480,35.8846,359.9982,13,13); //
AddStaticVehicle(415,1445.1626,-965.7297,35.9721,2.5803,25,1); //
AddStaticVehicle(418,1432.5823,-961.3785,36.3060,359.8516,114,114); //
AddStaticVehicle(419,1423.8352,-953.8161,35.9641,352.0876,47,76); //
AddStaticVehicle(492,1418.3820,-958.9738,36.0927,0.3971,77,26); //
AddStaticVehicle(492,1418.3457,-952.7580,35.8277,0.7641,77,26); //
AddStaticVehicle(497,1410.5311,-950.4865,35.7117,0.0102,0,1); //
AddStaticVehicle(517,1400.2214,-950.9607,34.7727,359.9877,36,36); //
AddStaticVehicle(525,1391.1063,-955.2612,34.6011,358.2847,17,20); //
AddStaticVehicle(528,1380.5701,-957.9766,34.1748,0.4426,0,0); //
AddStaticVehicle(533,1371.6899,-963.9957,33.6140,359.3622,74,1); //
AddStaticVehicle(541,1228.7440,-1833.4720,13.3807,23.3342,58,; //
AddStaticVehicle(550,1113.1106,-1853.8121,13.1817,0.0347,42,42); //
AddStaticVehicle(596,1104.2385,-1858.9958,13.2733,0.0009,0,1); //
AddStaticVehicle(598,1089.2878,-1858.2456,13.2045,357.6288,0,1); //
AddPlayerClass(0,1530.7965,-924.3223,42.1064,217.0000,0,0,0,0,0,0); //
AddPlayerClass(1,1530.7965,-924.3223,42.1064,217.0000,0,0,0,0,0,0); //
AddPlayerClass(2,1530.7965,-924.3223,42.1064,217.0000,0,0,0,0,0,0); //
AddPlayerClass(48,1531.1963,-924.4164,42.1492,262.0000,0,0,0,0,0,0); //
AddPlayerClass(50,1531.8926,-924.5143,42.2264,262.0000,0,0,0,0,0,0); //
AddPlayerClass(51,1531.8926,-924.5143,42.2264,262.0000,0,0,0,0,0,0); //
AddPlayerClass(52,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(53,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(54,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(55,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(56,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(57,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(58,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(59,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(60,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(61,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(62,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(63,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(64,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(66,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(67,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(68,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(69,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(70,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(71,1532.2407,-924.5633,42.2650,262.0000,0,0,0,0,0,0); //
AddPlayerClass(72,1532.1368,-924.9702,42.2361,82.0000,0,0,0,0,0,0); //
AddPlayerClass(75,1531.9873,-924.6904,42.2302,262.0000,0,0,0,0,0,0); //
AddPlayerClass(76,1532.2069,-924.4634,42.2651,82.0000,0,0,0,0,0,0); //
AddPlayerClass(78,1532.2069,-924.4634,42.2651,82.0000,0,0,0,0,0,0); //
AddPlayerClass(79,1532.2069,-924.4634,42.2651,82.0000,0,0,0,0,0,0); //
AddPlayerClass(80,1532.2069,-924.4634,42.2651,82.0000,0,0,0,0,0,0); //
AddPlayerClass(81,1532.0684,-924.2654,42.2571,262.0000,0,0,0,0,0,0); //
AddPlayerClass(82,1532.2880,-924.0383,42.2921,82.0000,0,0,0,0,0,0); //
AddPlayerClass(83,1532.2880,-924.0383,42.2921,82.0000,0,0,0,0,0,0); //
AddPlayerClass(84,1532.2880,-924.0383,42.2921,82.0000,0,0,0,0,0,0); //
AddPlayerClass(85,1532.2880,-924.0383,42.2921,82.0000,0,0,0,0,0,0); //
AddPlayerClass(87,1532.2880,-924.0383,42.2921,82.0000,0,0,0,0,0,0); //
AddPlayerClass(88,1532.2880,-924.0383,42.2921,82.0000,0,0,0,0,0,0); //
AddPlayerClass(89,1532.1440,-923.8734,42.2820,352.0000,0,0,0,0,0,0); //
AddPlayerClass(91,1532.3361,-923.6890,42.3120,82.0000,0,0,0,0,0,0); //
AddPlayerClass(92,1532.3361,-923.6890,42.3120,82.0000,0,0,0,0,0,0); //
AddPlayerClass(93,1532.3361,-923.6890,42.3120,82.0000,0,0,0,0,0,0); //
AddPlayerClass(95,1532.3361,-923.6890,42.3120,82.0000,0,0,0,0,0,0); //
AddPlayerClass(96,1532.3361,-923.6890,42.3120,82.0000,0,0,0,0,0,0); //
AddPlayerClass(97,1532.3361,-923.6890,42.3120,82.0000,0,0,0,0,0,0); //
AddPlayerClass(98,1532.3361,-923.6890,42.3120,82.0000,0,0,0,0,0,0); //
AddPlayerClass(99,1532.3361,-923.6890,42.3120,82.0000,0,0,0,0,0,0); //
AddPlayerClass(100,1532.3361,-923.6890,42.3120,82.0000,0,0,0,0,0,0); //
AddPlayerClass(101,1532.3361,-923.6890,42.3120,82.0000,0,0,0,0,0,0); //
AddPlayerClass(102,1532.3361,-923.6890,42.3120,82.0000,0,0,0,0,0,0); //
AddPlayerClass(103,1532.3361,-923.6890,42.3120,82.0000,0,0,0,0,0,0); //
AddPlayerClass(104,1532.1898,-923.3464,42.3090,262.0000,0,0,0,0,0,0); //
AddPlayerClass(105,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(106,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(107,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(107,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(108,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(109,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(110,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(111,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(111,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(112,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(113,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(114,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(115,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(116,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(117,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(118,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(120,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(121,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(122,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(123,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(124,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(125,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(126,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(127,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(128,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(129,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(131,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(129,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(133,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(135,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(136,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(137,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(138,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(139,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(140,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(141,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(142,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(143,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(144,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(145,1532.0015,-923.8475,42.2665,82.0000,0,0,0,0,0,0); //
AddPlayerClass(146,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(147,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(148,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(150,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(151,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(152,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(153,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(154,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(155,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(156,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(157,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(158,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(159,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(160,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(161,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(162,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(163,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(164,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(165,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(166,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(167,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(168,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(169,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(170,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(171,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(172,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(173,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(174,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(174,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(175,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(176,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(177,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(178,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(179,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(180,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(181,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(182,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(183,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(184,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(185,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(186,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(187,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(188,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(189,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(190,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(191,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(192,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(193,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(194,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(195,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(196,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(197,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(198,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(200,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(201,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(202,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(203,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(204,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(205,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(206,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(207,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(209,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(210,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(211,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(233,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(234,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(235,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(237,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(240,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(242,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(246,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(249,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(258,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(259,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(275,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(276,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(277,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(278,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(279,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(280,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(281,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(282,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(283,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(284,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(285,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(286,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(287,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(288,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(290,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(291,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(292,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(293,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(294,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(295,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(297,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //
AddPlayerClass(299,1527.6792,-928.9052,41.5324,82.0000,0,0,0,0,0,0); //

return 1;
}

public OnGameModeExit()
{
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 OnPlayerRequestSpawn(playerid)
{
return 1;
}

public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,0xAA3333AA," Welcome to the Goodfella’s Roleplay Server.");
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
return 1;
}

public OnPlayerSpawn(playerid)
{
return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}

public OnVehicleSpawn(vehicleid)
{
return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}

public OnPlayerText(playerid, text[])
{
return 1;
}

public OnPlayerPrivmsg(playerid, recieverid, text[])
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}

public OnPlayerInfoChange(playerid)
{
return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
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 OnObjectMoved(objectid)
{
return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}

public OnPlayerExitedMenu(playerid)
{
return 1;
}


Do you see anything wrong with it?
Reply
#7

[quote=Kevon ]
Quote:
Originally Posted by WeeDarr
Maybe it isn't working because you deleted it?

I didn't understand the first bit but to set the hours you can use SetWorldTime(hour);

WeeDarr
Well i didn't delete anything...
Can you tell me the requirements I need on my pawno to start it up, I have cars/classes, i have 1 welcome message, better yet here..

Nevermind I fixed it..
Reply
#8

Use www.pastebin.com for large scripts

If you want I done a couple changes, removed some unneeded stuff at the top.

http://weedarr.pastebin.com/f6c0284cc

WeeDarr
Reply
#9

Quote:
Originally Posted by WeeDarr
Use www.pastebin.com for large scripts

If you want I done a couple changes, removed some unneeded stuff at the top.

http://weedarr.pastebin.com/f6c0284cc

WeeDarr
Where can i find some register things, and how do I choose where to spawn my cars, i'm kind of new, i'm trying to make this alot of Los Santos RolePlay, if you have ever played on it. And how do ia dd commands, sorry for such a bother.
Reply
#10

Want a tip from me, start smaller. You WON'T be able to make a script even like LS-RP if your a beginner.

WeeDarr
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)