Author Topic: Plz help me  (Read 2677 times)

0 Members and 1 Guest are viewing this topic.

Offline husnainali9999

  • Street Thug
  • *
  • Posts: 7
    • View Profile
    • Megawar Returns
Plz help me
« on: November 23, 2012, 06:53:13 pm »
Anyone can tell me how to change Spawn Loc plz tell me i am new in PAWN scripting

Offline dynavolt71

  • Crime Boss
  • ****
  • Posts: 371
    • View Profile
    • My Blog
Re: Plz help me
« Reply #1 on: November 24, 2012, 05:48:23 am »
You Need Coordinates.
[PAWNO]Fix Error " Failed to set data for "" " - http://forum.vicecitymultiplayer.com/index.php?topic=5743.0



:'(

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Plz help me
« Reply #2 on: November 24, 2012, 11:20:51 am »
tell us more info about your problem


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline husnainali9999

  • Street Thug
  • *
  • Posts: 7
    • View Profile
    • Megawar Returns
Re: Plz help me
« Reply #3 on: November 24, 2012, 01:13:57 pm »
i Want to Change Player Spawn Loc plz tell me i WAnt to Spawn Player in Malibu Club

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Plz help me
« Reply #4 on: November 24, 2012, 05:43:49 pm »
1. Save the coords ( with "/s" command ) of Malibu Club.
2. Change the 3rd, 4th, 5th and 6th parameter from "AddPlayerClassEx" with coords saved by "/s" cmd.
3. Compile the script.
4. Voila ! You will be spawned at Malibu Club.


E.g.:

These are Malibu coords saved by "/s" command in "vc-mp_saved_coords.txt" from Vice City Directory.
Quote
Class = 0 0 485.8751 -85.7629 11.4839 334.6029 0 0 0 0 0 0 ;

You have to add these coords in "AddPlayerClassEx" function:
Quote
AddPlayerClassEx( 1 , 6 , 485.8751 , -85.7629 , 11. 4839 , 334.6029 , 0 , 0 , 0 , 0 , 0 , 0 );

Legend:
Quote
Blue text: X coord, 3rd coord.
Green text: Y coord, 4th coord.
Red text: Z coord, 5th coord.
Orange text: Angle coord, 6th coord.


Thats all.
« Last Edit: November 24, 2012, 05:56:24 pm by sseebbyy »

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.