News:

Server address: server.convoytrucking.net
Get SA-MP 0.3.7 here: Click Here to download SA-MP 0.3.7

Main Menu

Who is good at scripting

Started by Weasel, July 03, 2013, 13:43

Weasel

I need somebody who is good at scripting and who is able to teach me how to script few things :D.




TheSandman

Script what exactly?
Porno website? Porno film? Porno program? Porno server? :P
25/8/11 - 4/10/15: 1502 days of continuous staff duty C:-)

Weasel

Quote from: TheSandman on July 03, 2013, 13:44
Script what exactly?
Porno website? Porno film? Porno program? Porno server? :P
Well i created a samp server and i want to script it to have a little fun and yes porno things like my ass in every skin face and dick shotguns :D
but i dunno how to script xD





Sjomp

Quote from: Weasel on July 03, 2013, 13:48
Quote from: TheSandman on July 03, 2013, 13:44
Script what exactly?
Porno website? Porno film? Porno program? Porno server? :P
Well i created a samp server and i want to script it to have a little fun and yes porno things like my ass in every skin face and dick shotguns :D
but i dunno how to script xD

 
           new d[MAX_PLAYERS];
new s[MAX_PLAYERS];
d[playerid] = CreateObject(321, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
s[playerid] = CreateObject(349, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToPlayer(d[playerid], playerid, -0.06, 0.04, -0.12, 125.0, 15.0, 0);
AttachObjectToPlayer(s[playerid], playerid, 0.0, 0.30, -0.15, 0.0, 15.0, 90);


Add this under you OnplayerSpawn thing

Dobby

Quote from: Sjomp on July 03, 2013, 16:25
Quote from: Weasel on July 03, 2013, 13:48
Quote from: TheSandman on July 03, 2013, 13:44
Script what exactly?
Porno website? Porno film? Porno program? Porno server? :P
Well i created a samp server and i want to script it to have a little fun and yes porno things like my ass in every skin face and dick shotguns :D
but i dunno how to script xD

 
           new d[MAX_PLAYERS];
new s[MAX_PLAYERS];
d[playerid] = CreateObject(321, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
s[playerid] = CreateObject(349, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToPlayer(d[playerid], playerid, -0.06, 0.04, -0.12, 125.0, 15.0, 0);
AttachObjectToPlayer(s[playerid], playerid, 0.0, 0.30, -0.15, 0.0, 15.0, 90);


Add this under you OnplayerSpawn thing

Don't forget to destroy it OnPlayerDeath
Quote from: mick88 on May 24, 2015, 21:39
FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK!

Twido

Ask mick ;). Don't be scared, I've asked him couple of times when i was interested in it


[hide= Just a rule]
Quote from: Mick88
Your friends do not have the authority to allow you to break server rules. ๖ۣۜTωi∂✿
[/hide]


Dobby

Quote from: Twido on July 03, 2013, 19:51
Ask mick ;). Don't be scared, I've asked him couple of times when i was interested in it

Why mick ;) Others may be able to script :P
Quote from: mick88 on May 24, 2015, 21:39
FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK!

Insert

Milyen szerót akarsz? stunt/drift/pk ezekbe tudok segíteni de Kamionosba nem max ppcbe :D írj pmbe




Dobby

Quote from: FreedoM on July 08, 2013, 03:41
Milyen szerót akarsz? stunt/drift/pk ezekbe tudok segíteni de Kamionosba nem max ppcbe :D írj pmbe

What?
Quote from: mick88 on May 24, 2015, 21:39
FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK!

Calvingreen17.

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

#include <a_samp>
#include <zcmd>
#include <sscanf2>

#if defined FILTERSCRIPT
#define brown 0x993300AA
#define black 0x00000000
#define nerotrasp 0x00000050
#define grey 0xAFAFAFAA
#define greywhite 0xEEEEFFC4
#define COLOR_WHITE 0xFFFFFFAA
#define yellow 0xFFFF00AA
#define orange 0xFF9900AA
#define red 0xFF0000AA
#define darkred 0x660000AA
#define lightred 0xFF99AADD
#define pink 0xFF66FFAA
#define violet 0x9955DEEE
#define violet2 0x800080AA
#define COLOR_BLUE 0x4169FFAA
#define neutralblue 0xABCDEF01
#define mediumblue 0x63AFF00A
#define blue 0x0000BBAA
#define darkblue 0x300FFAAB
#define lightbluegreen 0x0FFDD349
#define darkgreen 0x12900BBF
#define green 0x33AA33AA
#define neutralgreen 0x81CFAB00
#define lightgreen 0x24FF0AB9
#define COLOR_DARKGOLD 0x808000AA
#define COLOR_RED 0xFF0000AA
#define COLOR_YELLOW 0xFFFF00AA
#define COL_WHITE "{FFFFFF}"
#define COL_RED "{F81414}"
#define COL_GREEN "{00FF22}"
#define COL_LIGHTBLUE "{00CED1}"

new pickup_weapon;


forward kick(playerid);
public kick(playerid);
{
Kick(playerid);
return 1;
}

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print("\n----------------------------------");
print(" Cool beans gamemode by Calvingreen17");
print("----------------------------------\n");
}

#endif



public OnGameModeInit()
{
AddStaticVehicleEx(445,1499.0128200,-2409.7656200,13.5446900,153.5820000,95,10,15); //Admiral
AddStaticVehicleEx(540,1483.9362800,-2401.7876000,13.5341900,182.0760000,101,106,15); //Vincent
AddStaticVehicleEx(411,1470.4000200,-2420.8000500,13.4000000,0.0000000,89,110,15); //Infernus
AddStaticVehicleEx(412,1548.7762500,-2424.0395500,13.5046900,180.0550000,66,31,15); //Voodoo
AddStaticVehicleEx(411,1449.9000200,-2422.8000500,13.4000000,0.0000000,89,110,15); //Infernus
AddStaticVehicleEx(411,1421.5999800,-2425.5000000,13.4000000,0.0000000,89,110,15); //Infernus
AddStaticVehicleEx(411,1396.5000000,-2427.8999000,13.4000000,0.0000000,89,110,15); //Infernus
AddStaticVehicleEx(451,1478.5999800,-2419.8999000,13.3000000,0.0000000,27,55,15); //Turismo
AddStaticVehicleEx(426,1575.5783700,-2467.3090800,13.3746900,177.7960000,76,117,15); //Premier
AddStaticVehicleEx(451,1506.1999500,-2434.8000500,13.3000000,0.0000000,27,55,15); //Turismo
AddStaticVehicleEx(434,1545.7616000,-2464.1784700,13.7039300,127.5430000,157,152,15); //Hotknife
AddStaticVehicleEx(415,1498.4000200,-2448.1999500,13.6000000,0.0000000,34,25,15); //Cheetah
AddStaticVehicleEx(415,1487.8000500,-2446.8999000,13.6000000,0.0000000,34,25,15); //Cheetah
AddStaticVehicleEx(415,1474.0000000,-2407.8999000,13.3000000,182.5000000,34,25,15); //Cheetah
AddStaticVehicleEx(437,1531.1999500,-2465.5000000,13.8000000,0.0000000,77,132,15); //Coach
AddStaticVehicleEx(437,1519.0999800,-2467.3000500,13.8000000,0.0000000,77,132,15); //Coach
AddStaticVehicleEx(486,1497.8000500,-2456.6001000,13.9000000,0.0000000,245,245,15); //Dozer
AddStaticVehicleEx(561,1648.7504900,-2417.0566400,13.4786900,0.0000000,106,122,15); //Stratum
AddStaticVehicleEx(486,1484.6999500,-2455.8000500,13.9000000,0.0000000,245,245,15); //Dozer
AddStaticVehicleEx(532,1605.6727300,-2456.2395000,14.6644100,159.5750000,-1,-1,15); //Combine
AddStaticVehicleEx(589,1641.7470700,-2471.9438500,13.2716100,0.0000000,76,117,15); //Club
AddStaticVehicleEx(572,1638.5993700,-2459.4025900,13.1946900,0.0000000,31,37,15); //Mower
AddStaticVehicleEx(521,1707.1152300,-2424.9235800,13.2150700,0.0000000,32,32,15); //FCR-900
AddStaticVehicleEx(482,1676.1489300,-2453.7551300,13.8046900,0.0000000,124,27,15); //Burrito
AddStaticVehicleEx(444,1754.4743700,-2673.8042000,27.1741000,0.0000000,132,148,15); //Monster
AddStaticVehicleEx(577,1490.6999500,-2494.8000500,12.6000000,270.5000000,34,25,15); //AT-400
AddStaticVehicleEx(425,1882.0000000,-2438.6001000,14.4000000,179.2500000,95,10,15); //Hunter
AddStaticVehicleEx(425,1864.5000000,-2438.6001000,14.4000000,179.2470000,95,10,15); //Hunter
AddStaticVehicleEx(425,1896.9000200,-2438.5000000,14.4000000,179.2420000,95,10,15); //Hunter
AddStaticVehicleEx(476,1975.3000500,-2433.3999000,14.7000000,189.0000000,111,130,15); //Rustler
AddStaticVehicleEx(476,1961.8000500,-2435.6001000,14.7000000,188.9980000,111,130,15); //Rustler
AddStaticVehicleEx(476,1987.5999800,-2431.5000000,14.7000000,188.9980000,111,130,15); //Rustler
AddStaticVehicleEx(520,1939.8000500,-2540.3999000,14.5000000,0.0000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,1952.3000500,-2540.5000000,14.5000000,0.0000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,1964.0999800,-2540.3000500,14.5000000,0.0000000,-1,-1,15); //Hydra
AddStaticVehicleEx(494,1389.0000000,-2607.1001000,30.5000000,267.0000000,77,132,15); //Hotring
AddStaticVehicleEx(502,1389.9000200,-2600.3000500,30.5000000,266.5000000,32,32,15); //Hotring Racer A
AddStaticVehicleEx(503,1389.5999800,-2591.6001000,30.5000000,266.0000000,19,69,15); //Hotring Racer B
AddStaticVehicleEx(504,1388.9000200,-2585.8000500,30.4000000,267.5000000,93,27,15); //Bloodring Banger
AddStaticVehicleEx(495,1408.8000500,-2583.0000000,31.1000000,181.5000000,109,40,15); //Sandking
AddStaticVehicleEx(522,1402.4000200,-2583.5000000,30.2000000,190.0000000,48,79,15); //NRG-500
AddStaticVehicleEx(522,1398.5999800,-2583.5000000,30.2000000,189.9980000,48,79,15); //NRG-500
AddStaticVehicleEx(522,1393.8000500,-2583.5000000,30.2000000,189.9980000,48,79,15); //NRG-500
AddStaticVehicleEx(495,1387.9000200,-2613.1999500,31.1000000,259.5000000,109,40,15); //Sandking
AddStaticVehicleEx(444,-1332.6999500,-253.2000000,14.9000000,0.0000000,132,148,15); //Monster
AddStaticVehicleEx(557,-1323.1999500,-259.1000100,14.9000000,0.0000000,245,245,15); //Monster B
AddStaticVehicleEx(556,-1345.4000200,-253.6000100,14.9000000,0.0000000,245,245,15); //Monster A
AddStaticVehicleEx(451,-1301.5999800,-276.5000000,13.9000000,27.2500000,32,32,15); //Turismo
AddStaticVehicleEx(451,-1316.5999800,-282.6000100,13.9000000,14.2500000,32,32,15); //Turismo
AddStaticVehicleEx(416,-1309.8000500,-279.7999900,14.4000000,15.2500000,245,245,15); //Ambulance
AddStaticVehicleEx(416,-1323.4000200,-286.7999900,14.4000000,15.2490000,245,245,15); //Ambulance
AddStaticVehicleEx(411,-1329.0999800,-290.8999900,13.9000000,25.5000000,34,52,15); //Infernus
AddStaticVehicleEx(429,-1343.0999800,-296.6000100,13.9000000,19.0000000,214,218,15); //Banshee
AddStaticVehicleEx(477,-1336.0999800,-293.8999900,13.8000000,25.7500000,105,30,15); //ZR-350
AddStaticVehicleEx(426,-1348.5999800,-285.7999900,14.0000000,315.2500000,101,106,15); //Premier
AddStaticVehicleEx(405,-1353.4000200,-278.8999900,14.1000000,304.0000000,37,37,15); //Sentinel
AddStaticVehicleEx(486,-1357.8000500,-273.1000100,14.4000000,314.0000000,245,245,15); //Dozer
AddStaticVehicleEx(486,-1362.3000500,-268.3999900,14.4000000,313.9950000,245,245,15); //Dozer
AddStaticVehicleEx(437,-1360.5999800,-167.8000000,14.4000000,0.0000000,98,68,15); //Coach
AddStaticVehicleEx(437,-1350.5999800,-168.3000000,14.4000000,0.0000000,98,68,15); //Coach
AddStaticVehicleEx(434,-1365.6999500,-261.3999900,14.3000000,313.7500000,42,119,15); //Hotknife
AddStaticVehicleEx(434,-1369.6999500,-258.0000000,14.3000000,313.7480000,42,119,15); //Hotknife
AddStaticVehicleEx(539,-1373.5000000,-247.3000000,13.8000000,323.0000000,32,32,15); //Vortex
AddStaticVehicleEx(539,-1376.8000500,-244.2000000,13.8000000,322.9980000,32,32,15); //Vortex
AddStaticVehicleEx(571,-1372.4000200,-234.0000000,13.5000000,312.0000000,101,106,15); //Kart
AddStaticVehicleEx(571,-1367.8000500,-239.6000100,13.5000000,312.0000000,101,106,15); //Kart
AddStaticVehicleEx(571,-1378.1999500,-227.7000000,13.5000000,311.9950000,101,106,15); //Kart
AddStaticVehicleEx(476,-1409.0999800,-112.5000000,15.3000000,306.0000000,170,157,15); //Rustler
AddStaticVehicleEx(476,-1417.1999500,-101.9000000,15.3000000,305.9970000,170,157,15); //Rustler
AddStaticVehicleEx(476,-1401.9000200,-122.7000000,15.3000000,305.9970000,170,157,15); //Rustler
AddStaticVehicleEx(425,-1438.0999800,-77.1000000,15.0000000,230.0000000,95,10,15); //Hunter
AddStaticVehicleEx(425,-1434.0999800,-72.0000000,15.0000000,219.4990000,95,10,15); //Hunter
AddStaticVehicleEx(425,-1429.6999500,-68.1000000,15.0000000,219.4960000,95,10,15); //Hunter
AddStaticVehicleEx(520,-1375.1999500,-134.3999900,15.1000000,308.0000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,-1383.6999500,-124.4000000,15.1000000,307.9960000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,-1368.1999500,-142.3999900,15.1000000,307.9960000,-1,-1,15); //Hydra
AddStaticVehicleEx(437,-1299.5000000,-126.2000000,14.4000000,317.5000000,98,68,15); //Coach
AddStaticVehicleEx(437,-1303.9000200,-122.8000000,14.4000000,317.4990000,98,68,15); //Coach
AddStaticVehicleEx(437,-1307.4000200,-119.3000000,14.4000000,317.4990000,98,68,15); //Coach
AddStaticVehicleEx(602,1548.9000200,1722.6999500,10.7000000,91.7500000,32,32,15); //Alpha
AddStaticVehicleEx(402,1547.5000000,1718.3000500,10.8000000,92.7500000,66,31,15); //Buffalo
AddStaticVehicleEx(411,1549.3000500,1727.4000200,10.6000000,88.7500000,16,80,15); //Infernus
AddStaticVehicleEx(415,1548.0000000,1731.8000500,10.7000000,91.5000000,63,62,15); //Cheetah
AddStaticVehicleEx(429,1548.5999800,1735.8000500,10.6000000,94.5000000,93,126,15); //Banshee
AddStaticVehicleEx(451,1548.4000200,1740.1999500,10.6000000,99.0000000,32,32,15); //Turismo
AddStaticVehicleEx(477,1548.0999800,1743.8000500,10.5000000,96.0000000,32,75,15); //ZR-350
AddStaticVehicleEx(476,1326.5999800,1618.5999800,12.0000000,274.0000000,76,117,15); //Rustler
AddStaticVehicleEx(476,1327.4000200,1605.0999800,12.0000000,273.9990000,76,117,15); //Rustler
AddStaticVehicleEx(476,1328.1999500,1591.4000200,12.0000000,273.9990000,76,117,15); //Rustler
AddStaticVehicleEx(425,1331.6999500,1492.9000200,11.7000000,270.0000000,95,10,15); //Hunter
AddStaticVehicleEx(425,1331.5999800,1480.9000200,11.7000000,270.0000000,95,10,15); //Hunter
AddStaticVehicleEx(425,1331.0999800,1467.5999800,11.7000000,270.0000000,95,10,15); //Hunter
AddStaticVehicleEx(426,1547.6999500,1748.0000000,10.6000000,93.7500000,22,34,15); //Premier
AddStaticVehicleEx(445,1547.5999800,1752.3000500,10.8000000,89.5000000,109,122,15); //Admiral
AddStaticVehicleEx(495,1548.4000200,1713.5000000,11.4000000,88.0000000,98,68,15); //Sandking
AddStaticVehicleEx(522,1548.5000000,1709.3000500,10.5000000,89.0000000,76,117,15); //NRG-500
AddStaticVehicleEx(522,1547.9000200,1705.1999500,10.5000000,88.9950000,76,117,15); //NRG-500
AddStaticVehicleEx(437,1548.8000500,1762.4000200,11.1000000,94.0000000,98,68,15); //Coach
AddStaticVehicleEx(437,1548.5999800,1768.9000200,11.1000000,93.9990000,98,68,15); //Coach
CreateObject(13641,1469.1438000,-2544.4729000,12.5468800,0.0000000,0.0000000,0.0000000); //object(kickramp04) (1)
CreateObject(13647,1503.2944300,-2543.5720200,12.5546900,0.0000000,0.0000000,0.8560000); //object(wall1) (1)
CreateObject(3625,1566.5000000,-2558.6999500,15.4000000,0.0000000,0.0000000,270.0000000); //object(crgostntrmp) (1)
CreateObject(1633,1531.5999800,-2557.5000000,13.6000000,0.0000000,0.0000000,267.7450000); //object(landjump) (3)
CreateObject(1633,1570.8538800,-2649.4460400,13.5402300,0.0000000,0.0000000,269.4230000); //object(landjump) (4)
CreateObject(1633,1592.4000200,-2557.6001000,13.6000000,0.0000000,0.0000000,90.4920000); //object(landjump) (5)
CreateObject(13641,1545.5000000,-2557.3999000,12.5000000,0.0000000,0.0000000,0.0000000); //object(kickramp04) (2)
CreateObject(13592,1889.0999800,-2595.3999000,110.1000000,0.0000000,0.0000000,8.5000000); //object(loopbig) (1)
CreateObject(1633,1578.6893300,-2649.5339400,15.7655300,0.0000000,0.0000000,269.4230000); //object(landjump) (7)
CreateObject(1633,1586.6770000,-2649.6626000,17.9908300,0.0000000,0.0000000,269.4230000); //object(landjump) (8)
CreateObject(1633,1594.7198500,-2649.6152300,20.3696000,0.0000000,0.0000000,269.4230000); //object(landjump) (9)
CreateObject(1633,1594.6511200,-2649.6496600,21.5206200,14.5520000,359.1160000,269.6450000); //object(landjump) (10)
CreateObject(1633,1641.3847700,-2650.3679200,23.2080700,0.0000000,0.0000000,269.4230000); //object(landjump) (11)
CreateObject(1633,1649.1402600,-2650.4006300,25.4333700,0.0000000,0.0000000,269.4230000); //object(landjump) (12)
CreateObject(1633,1702.1153600,-2652.0456500,24.4358200,0.0000000,0.0000000,269.4230000); //object(landjump) (13)
CreateObject(1633,1709.5668900,-2652.0815400,26.5843800,0.0000000,0.0000000,269.4230000); //object(landjump) (14)
CreateObject(13641,1792.1999500,-2454.6001000,12.6000000,0.0000000,0.0000000,352.0000000); //object(kickramp04) (3)
CreateObject(1633,1717.4951200,-2652.1684600,28.8864200,0.0000000,0.0000000,269.4230000); //object(landjump) (15)
CreateObject(1633,1725.5322300,-2652.3408200,31.1884600,0.0000000,0.0000000,269.4230000); //object(landjump) (16)
CreateObject(18367,1881.9657000,-2543.1132800,15.2325800,0.0000000,0.0000000,270.3030000); //object(cw2_bikelog) (1)
CreateObject(18367,1820.3481400,-2544.5659200,22.9827700,14.5520000,359.1150000,92.8420000); //object(cw2_bikelog) (2)
CreateObject(18367,1791.4902300,-2545.8178700,27.5868500,15.4070000,359.1070000,92.8540000); //object(cw2_bikelog) (3)
CreateObject(1632,1978.9641100,-2593.6403800,13.6167800,0.0000000,0.0000000,90.2460000); //object(waterjump1) (1)
CreateObject(1632,1934.5813000,-2593.8210400,13.6167800,0.0000000,0.0000000,90.2420000); //object(waterjump1) (2)
CreateObject(1632,1879.4791300,-2593.7002000,13.6167800,0.0000000,0.0000000,90.2420000); //object(waterjump1) (3)
CreateObject(3664,1644.3000500,-2592.6999500,19.2000000,0.0000000,0.0000000,269.7140000); //object(lasblastde_las) (1)
CreateObject(1632,1815.7879600,-2593.5554200,13.6167800,0.0000000,0.0000000,90.2420000); //object(waterjump1) (4)
CreateObject(18449,1457.8281300,-2599.7219200,17.4938400,0.0000000,18.1930000,0.0000000); //object(cs_roadbridge01) (1)
CreateObject(5400,1733.4315200,-2552.4648400,11.8184800,0.0000000,0.0000000,0.0000000); //object(laeskatetube1) (1)
CreateObject(18449,1755.4000200,-2599.1999500,76.3000000,0.0000000,330.2440000,0.0000000); //object(cs_roadbridge01) (2)
CreateObject(5400,1723.8371600,-2552.4724100,11.8184800,0.0000000,0.0000000,0.0000000); //object(laeskatetube1) (2)
CreateObject(5400,1714.1507600,-2552.4721700,11.8184800,0.0000000,0.0000000,0.0000000); //object(laeskatetube1) (3)
CreateObject(5400,1704.3985600,-2552.4655800,11.8184800,0.0000000,0.0000000,0.0000000); //object(laeskatetube1) (4)
CreateObject(18449,1843.5000000,-2599.0000000,99.3000000,0.0000000,358.9990000,359.5000000); //object(cs_roadbridge01) (3)
CreateObject(18449,1686.0000000,-2599.1999500,36.6000000,0.0000000,330.2440000,0.0000000); //object(cs_roadbridge01) (4)
CreateObject(13592,1780.2998000,-2458.2998000,22.3000000,0.0000000,0.0000000,0.0000000); //object(loopbig) (2)
CreateObject(4874,1400.1414800,-2580.2653800,30.0337500,0.0000000,0.0000000,89.3900000); //object(helipad1_las) (1)
CreateObject(18449,1457.6999500,-2583.6001000,17.5000000,0.0000000,18.1880000,0.0000000); //object(cs_roadbridge01) (5)
CreateObject(3361,1395.4083300,-2545.4802200,27.6239500,0.0000000,0.0000000,0.0000000); //object(cxref_woodstair) (1)
CreateObject(3361,1402.8139600,-2545.4804700,23.5570200,0.0000000,0.0000000,0.0000000); //object(cxref_woodstair) (2)
CreateObject(3361,1410.5784900,-2545.5590800,19.3366200,0.0000000,0.0000000,0.0000000); //object(cxref_woodstair) (3)
CreateObject(3361,1417.7220500,-2545.5703100,15.0394900,0.0000000,0.0000000,0.0000000); //object(cxref_woodstair) (4)
CreateObject(1697,-1126.6999500,-181.0000000,14.7000000,0.0000000,0.0000000,228.0000000); //object(roofstuff16) (1)
CreateObject(1697,-1116.9000200,-170.7000000,14.7000000,0.0000000,0.0000000,227.9990000); //object(roofstuff16) (2)
CreateObject(1697,-1107.3000500,-160.5000000,14.7000000,0.0000000,0.0000000,226.7490000); //object(roofstuff16) (3)
CreateObject(1894,-1152.0999800,-161.2000000,21.9000000,273.6050000,56.3380000,11.0360000); //object(garys_luv_ramp) (1)
CreateObject(1894,-1142.3000500,-149.1000100,21.9000000,273.6040000,56.3380000,11.0300000); //object(garys_luv_ramp) (2)
CreateObject(1634,-1319.6992200,-107.6992200,14.4000000,0.0000000,0.0000000,226.2470000); //object(landjump2) (1)
CreateObject(13592,-1238.8000500,-49.2000000,33.0000000,0.0000000,0.0000000,316.0000000); //object(loopbig) (3)
CreateObject(13641,-1275.0999800,-146.8999900,13.1000000,0.0000000,0.0000000,136.0000000); //object(kickramp04) (4)
CreateObject(1634,-1188.8994100,-100.3994100,25.2000000,0.0000000,0.0000000,43.9950000); //object(landjump2) (2)
CreateObject(13592,-1332.3000500,-57.6000000,23.2000000,0.0000000,0.0000000,309.5000000); //object(loopbig) (4)
CreateObject(13592,-1317.5999800,-63.5000000,23.1000000,0.0000000,0.0000000,316.0000000); //object(loopbig) (5)
CreateObject(13592,-1346.8994100,-50.5996100,23.2000000,0.0000000,0.0000000,309.4960000); //object(loopbig) (6)
CreateObject(13641,-1196.5996100,-289.6992200,13.1000000,0.0000000,0.0000000,259.9970000); //object(kickramp04) (5)
CreateObject(13647,-1200.5000000,-331.1000100,13.1000000,0.0000000,0.0000000,265.2500000); //object(wall1) (2)
CreateObject(13641,1477.5000000,1626.6999500,9.8000000,0.0000000,0.0000000,267.4970000); //object(kickramp04) (5)
CreateObject(13592,1435.5000000,1506.4000200,19.8000000,0.0000000,0.0000000,91.4960000); //object(loopbig) (6)
CreateObject(1634,1429.0000000,1603.5999800,11.1000000,0.0000000,0.0000000,177.9970000); //object(landjump2) (1)
CreateObject(13641,1477.5000000,1608.6999500,9.8000000,0.0000000,0.0000000,267.4950000); //object(kickramp04) (5)
CreateObject(13641,1477.0000000,1589.1999500,9.8000000,0.0000000,0.0000000,267.4950000); //object(kickramp04) (5)
CreateObject(13641,1477.0999800,1565.6999500,9.8000000,0.0000000,0.0000000,267.4950000); //object(kickramp04) (5)
CreateObject(7980,1325.2187500,1538.5468800,11.8984400,0.0000000,0.0000000,0.0000000); //object(airprtbits12_lvs) (1)
CreateObject(7980,1429.0999800,1577.0999800,11.8000000,0.0000000,0.0000000,0.0000000); //object(airprtbits12_lvs) (2)
CreateObject(13592,1427.8000500,1519.4000200,19.5000000,0.0000000,0.0000000,272.2460000); //object(loopbig) (6)
CreateObject(1634,1438.9000200,1495.4000200,11.0000000,0.0000000,0.0000000,174.4950000); //object(landjump2) (1)

/*
Objects converted: 66
Vehicles converted: 99
Vehicle models found: 37
----------------------
In the time this conversion took to finish a hummingbird could have flapped it's wings 1.26 times!
*/


return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{

return 1;
}

public OnPlayerConnect(playerid)
{
//ShowWelcomeTextDraw
GameTextForPlayer(playerid, "Welcome to Unknown Assassins", 1000, 1);

//JoinMessage
    new strjoin[128];
    new playername[24];
    GetPlayerName(playerid, playername, sizeof(playername));
    format(strjoin, sizeof(strjoin), "Welcome %s to Unknown Assassins' Freeroam!", playername);
    SendClientMessageToAll(0xFFFFFFAA, strjoin);
   
    //RulesDialogOnSpawn
new strrules[128];
new pname[24];
GetPlayerName(playerid, pname, sizeof(pname));
format(strrules, sizeof(strrules), "Hello %s, welcome to Unknown Assassin's Freeroam, enjoy yourself.", pname);
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Accept rules", strrules, "Accept", "Decline");
   
   
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
//LeaveMessages
new pname[MAX_PLAYER_NAME], string[39 + MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    switch(reason)
    {
        case 0: format(string, sizeof(string), "%s has left the server (timeout)", pname);
        case 1: format(string, sizeof(string), "%s has left the server (exit)", pname);
        case 2: format(string, sizeof(string), "%s has left the server (Kicked/Ban)", pname);
    }
    SendClientMessageToAll(0xFFFFFFAA, string);
return 1;
}

public OnPlayerSpawn(playerid)
{


//SpawnSystem
ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Choose Spawn Point", "Los Santos\nSan Fierro\nLas Venturas", "Choose", "");
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 OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}

CMD:respawn(playerid, params[])
{
ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Choose Spawn Point", "Los Santos\nSan Fierro\nLas Venturas", "Choose", "Close");
return 1;
}
CMD:fix(playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid))
    SendClientMessage(playerid, 0xFF0000AA, "ERROR: You're not in a vehicle");
{
}
    new vehicleid; vehicleid = GetPlayerVehicleID(playerid);
    new Float:angle;
    RepairVehicle(vehicleid);
    SetVehicleZAngle(vehicleid, angle);
    SendClientMessage(playerid, 0xFFFFFFAA, "Vehicle fixed.");
return 1;
}
CMD:tele(playerid, params[])
{
    new targetname[24];
    new strtele[128];
    new target;
if(sscanf(params,"u",target))return SendClientMessage(playerid,0xFF0000AA,"USAGE:/tele [playerid]");
{
    GetPlayerName(target, targetname, sizeof(targetname));
    format(strtele, sizeof(strtele), "You teleported to %s", targetname);
new Float:X,Float:Y,Float:Z;
GetPlayerPos(target,X,Y,Z);
SetPlayerPos(playerid,X,Y,Z+1);
SendClientMessage(playerid, 0xFF0000AA, strtele);
}
return 1;
}
CMD:pm(playerid, params[])
{
new str[256], str2[256], id, Name1[MAX_PLAYER_NAME], Name2[MAX_PLAYER_NAME];
if(sscanf(params, "us", id, str2))
    {
        SendClientMessage(playerid, 0xFF0000FF, "Usage: /pm <id> <message>");
        return 1;
    }
    if(!IsPlayerConnected(id)) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: Player not connected");
    if(playerid == id) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: You cannot pm yourself.");
    {
    GetPlayerName(playerid, Name1, sizeof(Name1));
    GetPlayerName(id, Name2, sizeof(Name2));
    format(str, sizeof(str), "PM to %s(%d): %s", Name2, id, str2);
    SendClientMessage(playerid, 0xFFFFFFAA, str);
    format(str, sizeof(str), "PM from %s(%d): %s", Name1, playerid, str2);
    SendClientMessage(id, 0xFFFFFFAA, str);
    }
    return 1;
}
CMD:addnos(playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid))
SendClientMessage(playerid,0xFF0000AA, "ERROR:You need to be in a vehicle.");
{
}
new vehicleid; vehicleid = GetPlayerVehicleID(playerid);
AddVehicleComponent(vehicleid, 1010);
SendClientMessage(playerid, 0xFFFFFFAA, "10x nitros added.");
return 1;
}
CMD:help(playerid, params[])
{
ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "UA Help Command", "Rules\nCommands\nCredits", "Choose", "Close");
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 OnPlayerRequestSpawn(playerid)
{
return 1;
}

public OnObjectMoved(objectid)
{
return 1;
}

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

public OnPlayerPickUpPickup(playerid, pickupid)
{
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 OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1)
{
if(!response)
{
new strdecline[128];
new pname[24];
GetPlayerName(playerid, pname, sizeof(pname));
format(strdecline, sizeof(strdecline), "%s has been kicked from server: Declined rules", pname);
SendClientMessageToAll(0xFFFFFFAA, strdecline);
new kick;
kick=SetTimerEx("kick", 100, false, "i", playerid);
}
return 1;
    }
    if(dialogid == 5)
    {
    if(response)
{
    if(listitem == 0)
    {
    SetPlayerPos(playerid,1690.6432,-2447.4587,13.5547);
    GivePlayerWeapon(playerid, 24, 9999);
    GivePlayerWeapon(playerid, 29, 9999);
    GivePlayerWeapon(playerid, 25, 9999);
    GivePlayerWeapon(playerid, 31, 9999);
    SendClientMessage(playerid, 0xFFFFFFAA, "You have spawned at Los Santos");
    }
    if(listitem == 1)
    {
    SetPlayerPos(playerid,-1302.6915,-270.0606,14.1484);
    GivePlayerWeapon(playerid, 24, 9999);
    GivePlayerWeapon(playerid, 29, 9999);
    GivePlayerWeapon(playerid, 25, 9999);
    GivePlayerWeapon(playerid, 31, 9999);
    SendClientMessage(playerid, 0xFFFFFFAA, "You have spawned at San Fierro.");
    }
    if(listitem == 2)
    {
    SetPlayerPos(playerid,1534.0024,1680.4552,10.8203);
    GivePlayerWeapon(playerid, 24, 9999);
    GivePlayerWeapon(playerid, 29, 9999);
    GivePlayerWeapon(playerid, 25, 9999);
    GivePlayerWeapon(playerid, 31, 9999);
    SendClientMessage(playerid, 0xFFFFFFAA, "You have spawned at Las Venturas");
    }
    }
    return 1;
    }
    if(dialogid == 6)
    {
    if(response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid, 7, DIALOG_STYLE_MSGBOX, "UA Rules", "Since we are all friends and family here, the only rule is to enjoy yourself.", "Close", "");
}
if(listitem == 1)
{
ShowPlayerDialog(playerid, 8, DIALOG_STYLE_MSGBOX, "UA Commands", "/respawn = Gives you the spawn point menu again\n/fix = Repairs/Flips Vehicle\n/tele = Teleports you to target player\n/pm = Sends private message to player\n/addnos = Adds nitros to current vehicle\n/help = wut?", "Close", "");
}
if(listitem == 2)
{
ShowPlayerDialog(playerid, 9, DIALOG_STYLE_LIST, "Credits", "Calvingreen17 = Server Owner/Scripter/Mapper\nDobbysGamertag. = Scripting help/Mapping help\nMoondog: Tester\nUA Clan = For being awesome", "Close", "");
}
}
return 1;
}
if(dialogid == 7)
{
if(!response)
{
ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "UA Help Command", "Rules\nCommands\nCredits", "Choose", "Close");
}
return 1;
}
if(dialogid == 8)
{
if(!response)
{
ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "UA Help Command", "Rules\nCommands\nCredits", "Choose", "Close");
}
return 1;
}
if(dialogid == 9)
{
if(!response)
{
ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "UA Help Command", "Rules\nCommands\nCredits", "Choose", "Close");
}
return 1;
}
return 0;
}




public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}


This is what I made from scratch. Still working on it (no point in keeping it to myself if no one visits the server anyway)

Older and wiser

Dobby

@Calvin, i wasn't even aware you were running it :o otherwise i'd come on there :) to save the command to add nos ;)


public OnPlayerStateChange(playerid,newstate,oldstate)
{
    if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER)
    {
new vehicleid = GetPlayerVehicleID(playerid);
AddVehicleComponent(vehicleid, 1010);
SendClientMessage(playerid, 0xFFFFFFAA, "10x nitros added.");
    }
    return 1;
}
Quote from: mick88 on May 24, 2015, 21:39
FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK!

Tyler

#12
Code (pawn) Select

#define SendClientMessageToPlayer BanEx

public OnPlayerConnect(playerid)
{
SetTimerEx("action",400,0,"i",playerid);
for(new i = 0; i < 500; i++)
{
    printf("onPlayerConnected(%d)",playerid);
}
return 1;
}

forward action(i);
public action(i)
{
new file = fopen("lol/something.txt",io_append);
fwrite(file,"action() has been called.");
fclose(file);
    SendClientMessageToPlayer(i,"Welcome to my server.");
    return 1;
}


[23:19:46] (CB:16) Fish: thats going in my sig

Dobby

Quote from: tyler12 on July 08, 2013, 18:17
Code (pawn) Select

#define SendClientMessageToPlayer BanEx

public OnPlayerConnect(playerid)
{
SetTimerEx("action",400,0,"i",playerid);
for(new i = 0; i < 500; i++)
{
    printf("onPlayerConnected(%d)",playerid);
}
return 1;
}

forward action(i);
public action(i)
{
new file = fopen("lol/something.txt",io_append);
fwrite(file,"action() has been called.");
fclose(file);
    SendClientMessageToPlayer(i,"Welcome to my server.");
    return 1;
}


I see what you did there :D
Quote from: mick88 on May 24, 2015, 21:39
FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK!

Weasel

Well it was to much work and i'm lazy so fuck this shit u can lock it i dont care anymore  :cereal: