07.08.2009, 07:55
Hello samp forums.
I have some problems with a little piece of script, Its probably a noob mistake, but well
I haven't been scripting for a while, But I hope somebody can fix this.
Thanks in advance,
Dutchey Aka Rabbit
I have some problems with a little piece of script, Its probably a noob mistake, but well
Код:
if(pickupid == M1Start) { SendClientMessage(playerid, COLOR_YELLOW, "You enter the pub and hear someone shouting your name."); SendClientMessage(playerid, COLOR_RED, "Fixer: Lets Keep it short, I want you to bomb Otto's autos, The bombs are placed infront of the dealer"); M1st = CreatePickup(1313, 3, -1640.1226,1202.9473,7.2342); return 1; } if(pickupid == M1st) { SendClientMessage(playerid, COLOR_YELLOW, "You have picked up some bombs, Go inside"); m1p1 = CreatePickup(1313, 3, -1657.2209,1221.6830,13.6719); return 1; } if(pickupid == m1p1) { m1p2 = CreatePickup(1313, 3,-1669.0729,1211.9907,13.6719); return 1; } if(pickupid == m1p2) { m1p3 = CreatePickup(1313, 3,-1657.2643,1210.2029,21.1563); return 1; } if(pickupid == m1p3) { m1p4 = CreatePickup(1313, 3,-1613.4955,1230.0406,7.0468); return 1; } if(pickupid == m1p4) { GivePlayerMoney(playerid, 50000); SendClientMessage(playerid, COLOR_WHITE, "You've completed mission 1, Heres your cash"); CreateExplosion(-1669.0729,1211.9907,13.6719, 7,300); CreateExplosion(-1657.2643,1210.2029,21.1563,3,300); CreateExplosion(-1613.4955,1230.0406,7.0468,3,300); return 1; }
Thanks in advance,
Dutchey Aka Rabbit