Author Topic: Pickups  (Read 2226 times)

0 Members and 1 Guest are viewing this topic.

Offline kitt85711

  • Wiseguy
  • **
  • Posts: 72
    • View Profile
Pickups
« on: March 11, 2012, 08:22:12 am »
How do I add pickups in the script that can teleport you to a certain coordinate? And How are pickups made? For instance I see some pickups that look like certain things how do you make it do that?

1st part I need help

2nd part I'm just curious

Offline [AoD]NC

  • VC:MP Beta Tester
  • VC:MP Veteran
  • *
  • Posts: 616
  • AoD forever!
    • View Profile
    • KURWA MAĆ
Re: Pickups
« Reply #1 on: March 24, 2012, 12:35:56 am »
Not SQL! Man learn what SQL is...
http://en.wikipedia.org/wiki/SQL

About you problem:
1. You have to create a pickup.
2. Use this event http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/OnPickedUp
3. Add an IF to check if the player picked up the pickup you wanted.
4. Add http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/SetPlayerPos
5. Run server!

Sorry, I'm not a pawn scripter, but if you are clever, you should do it :).