Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: husnainali9999 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
-
You Need Coordinates.
-
tell us more info about your problem
-
i Want to Change Player Spawn Loc plz tell me i WAnt to Spawn Player in Malibu Club
-
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.
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:
AddPlayerClassEx( 1 , 6 , 485.8751 , -85.7629 , 11. 4839 , 334.6029 , 0 , 0 , 0 , 0 , 0 , 0 );
Legend:
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.