Raised This Month: $67 Target: $400
 16% 

Help about SPAWN


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
StrikerM
Member
Join Date: Nov 2019
Old 03-31-2021 , 17:24   Help about SPAWN
Reply With Quote #1

Hello, how can i modify the spawn for everyone ?

I want to make a command that spawn players exactly where i want, is this possible ?

If yes, how ?
StrikerM is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 03-31-2021 , 17:31   Re: Help about SPAWN
Reply With Quote #2

well since you've posted here i'm going to tell you what to do...

register a client command to save your current position origin in a global 3d vector array.

hook player spawn post, then change the player index origin to the saved origin array.
__________________
@Jailbreak Main Mod v2.6.5 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Last edited by Natsheh; 03-31-2021 at 17:32.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
StrikerM
Member
Join Date: Nov 2019
Old 03-31-2021 , 17:46   Re: Help about SPAWN
Reply With Quote #3

Quote:
Originally Posted by Natsheh View Post
well since you've posted here i'm going to tell you what to do...

register a client command to save your current position origin in a global 3d vector array.

hook player spawn post, then change the player index origin to the saved origin array.
Oke, so if i want to do everytime on different maps, is hard to save the coord everytime, i want to have different spawns like spawning on the site A and is not possible without having the coords, right ?

i am from san andreas multi player and over there you can do something like Setplayerpos(id, x, y, z, a);

But here how can i take the coords without being on the map going where i want to spawn and do something like /save and save the coords just for that map until i change it.


EDIT: I found out about BSP Edit and plugin map spawn editor, everything is ok now, thanks verry much for the help.

Last edited by StrikerM; 03-31-2021 at 18:19.
StrikerM is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:24.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode