Author Topic: Need Help? Ask it here!  (Read 80101 times)

0 Members and 2 Guests are viewing this topic.

Offline Faraday

  • The Scranton Strangler
  • SA-MP Retirees
  • *
  • *
  • *
  • Posts: 2599
  • Super[M]unkey
    • Awards
Re: Need Help? Ask it here!
« Reply #15 on: November 13, 2010, 09:28:36 AM »
I remember KmanN sending me a duel-filterscript once, was the same as Nx server a while back.

Offline Fuse

  • SA-MP Donator
  • *
  • Posts: 1048
    • Awards
Re: Need Help? Ask it here!
« Reply #16 on: November 13, 2010, 11:41:05 AM »
Okay, nvm.
I made a duelscript.

Offline Faraday

  • The Scranton Strangler
  • SA-MP Retirees
  • *
  • *
  • *
  • Posts: 2599
  • Super[M]unkey
    • Awards
Re: Need Help? Ask it here!
« Reply #17 on: November 13, 2010, 12:00:19 PM »

Offline Fuse

  • SA-MP Donator
  • *
  • Posts: 1048
    • Awards
Re: Need Help? Ask it here!
« Reply #18 on: November 13, 2010, 12:09:54 PM »
Nah. :)

Offline Slice

  • SA-MP Retirees
  • *
  • *
  • Posts: 811
    • Awards
Re: Need Help? Ask it here!
« Reply #19 on: November 14, 2010, 05:47:47 PM »
I remember KmanN sending me a duel-filterscript once, was the same as Nx server a while back.
I made that..! Btw if anyone still has the Nx server source, pls give! I wanna see how much i failed at scripting back then.


@Simon.: Your script is probably so great, you have to keep it for yourself. I'm guessing nobody ever made anything like it!

Offline Fuse

  • SA-MP Donator
  • *
  • Posts: 1048
    • Awards
Re: Need Help? Ask it here!
« Reply #20 on: November 15, 2010, 07:45:03 AM »
not really, good enough tho :)

Offline tony_ab

  • Fish 'n' Chips
  • *****
  • Posts: 962
  • sup
    • Awards
Re: Need Help? Ask it here!
« Reply #21 on: November 15, 2010, 12:37:35 PM »
I remember KmanN sending me a duel-filterscript once, was the same as Nx server a while back.
I made that..! Btw if anyone still has the Nx server source, pls give! I wanna see how much i failed at scripting back then.


@Simon.: Your script is probably so great, you have to keep it for yourself. I'm guessing nobody ever made anything like it!
who's the boss? he's the boss.
[V]1rU$ 4ever :)



Offline Fuse

  • SA-MP Donator
  • *
  • Posts: 1048
    • Awards
Re: Need Help? Ask it here!
« Reply #22 on: November 15, 2010, 03:39:24 PM »
Exactly 8)

Offline KmanN

  • SA-MP Donator
  • *
  • Posts: 1019
  • Rawr!
    • The bestest site ever
    • Awards
Re: Need Help? Ask it here!
« Reply #23 on: November 16, 2010, 01:25:47 AM »
I remember KmanN sending me a duel-filterscript once, was the same as Nx server a while back.
I made that..! Btw if anyone still has the Nx server source, pls give! I wanna see how much i failed at scripting back then.


@Simon.: Your script is probably so great, you have to keep it for yourself. I'm guessing nobody ever made anything like it!
only if you ask nicely for it slice.
Quote
<~Scott> if kmann had a vagina, he'd be complete

Offline Slice

  • SA-MP Retirees
  • *
  • *
  • Posts: 811
    • Awards
Re: Need Help? Ask it here!
« Reply #24 on: November 16, 2010, 08:52:06 AM »
pweeeeeeease

Offline AJP

  • SA-MP Retirees
  • *
  • *
  • Posts: 4900
  • N1158Q
    • Awards
Re: Need Help? Ask it here!
« Reply #25 on: November 16, 2010, 09:46:44 PM »

Offline [Cheetos]

  • SA-MP Donator
  • *
  • Posts: 702
  • "I never think of the future,It comes soon enough"
    • Awards
Re: Need Help? Ask it here!
« Reply #26 on: November 21, 2010, 08:17:30 PM »
can u explain us how to make christmas tree?!<<<< iz noob men :(

Offline Fuse

  • SA-MP Donator
  • *
  • Posts: 1048
    • Awards
Re: Need Help? Ask it here!
« Reply #27 on: November 22, 2010, 11:02:11 AM »
MTA 1.0
Best map editor ^

Offline NiGHTM4RE

  • SA-MP Retirees
  • *
  • *
  • Posts: 1015
  • Bow down or draw your sawns...
    • Awards
Re: Need Help? Ask it here!
« Reply #28 on: November 26, 2010, 10:18:37 PM »
HALP!

Code: [Select]
public OnFilterScriptInit()
{
     CreatePickup(1240, 2, -551.6004, 2609.5679, 66.8359, 0);
     CreatePickup(1242, 2, -551.6616, 2607.9106, 66.8359, 0);
     return 1;
}

What I wanted it to do: Create a health and armor pickup and respawn after sometime it was picked up.

What it did:The armor respawns fine but the health doesn't(first CreatePickup).

So what is wrong? Do I need another return value? And yes, I'm a noob at this and im just starting to learn it.
« Last Edit: November 26, 2010, 10:50:12 PM by NiGHTM4RE »
NiGHTM4RE's YouTube Channel
Find me in The Real World crypto investing campus.

Offline Simon

  • SA-MP Retirees
  • *
  • *
  • *
  • Posts: 1236
  • Retired
    • Awards
  • SA-MP: [CP]Simon
Re: Need Help? Ask it here!
« Reply #29 on: November 26, 2010, 10:53:49 PM »
It seems to be related to this SA:MP bug, just create a dummy pickup before your other ones.
Code: [Select]
public OnFilterScriptInit()
{
     // This will not be able to be picked up by normal players.
     CreatePickup(1253, 0, -133333.7, -133333.7, -133333.7, -1);

     // All your pickups from here onwards
     CreatePickup(1240, 2, -551.6004,2609.5679,66.8359, 0);
     CreatePickup(1242, 2, -551.6616, 2607.9106, 66.8359, 0);

     return 1;
}

If that still doesn't solve it, then try using the pickup types 15 and 22. They have the same effect as type 2, if it still fails then you may have to script the pickup to respawn.