Raised This Month: $ Target: $400
 0% 

Spawn Player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 05-08-2018 , 07:33   Spawn Player
Reply With Quote #1

i want to spawn TT players in 1 area only i have origin and angel how can i spawn then their ??

here is the origin and angel
PHP Code:

Spawn Origin 
-1001171311 Angel -1073914880
Spawn Origin 
-1010950858 Angel -1063335424
Spawn Origin 1151729920 Angel 
-1064498944
Spawn Origin 1129841302 Angel 
-1081011200 

Last edited by soumyadip77; 05-08-2018 at 09:12. Reason: edit
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 05-08-2018 , 10:33   Re: Spawn Player
Reply With Quote #2

Code:
#include <amxmodx> #include <hamsandwich> #include <engine> public plugin_init() {     RegisterHam(Ham_Spawn, "player", "CBasePlayer_Spawn_Post", 1); } public CBasePlayer_Spawn_Post(pPlayer) {     if (get_user_team(pPlayer) == 1)     {         entity_set_origin(pPlayer, Float:{-1001171311, -1010950858, -1151729920});         entity_set_vector(pPlayer, EV_VEC_angles, Float:{-1073914880, -1063335424, -1064498944});     } }
__________________








CrazY. is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 05-08-2018 , 11:37   Re: Spawn Player
Reply With Quote #3

Quote:
Originally Posted by CrazY. View Post
Code:
#include <amxmodx> #include <hamsandwich> #include <engine> public plugin_init() {     RegisterHam(Ham_Spawn, "player", "CBasePlayer_Spawn_Post", 1); } public CBasePlayer_Spawn_Post(pPlayer) {     if (get_user_team(pPlayer) == 1)     {         entity_set_origin(pPlayer, Float:{-1001171311, -1010950858, -1151729920});         entity_set_vector(pPlayer, EV_VEC_angles, Float:{-1073914880, -1063335424, -1064498944});     } }
This One is not working
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 05-08-2018 , 11:13   Re: Spawn Player
Reply With Quote #4

Crazy how can i spawn for 5 terrorists?
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 05-08-2018 , 11:45   Re: Spawn Player
Reply With Quote #5

and how to get origins ez way ??
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 05-08-2018 , 12:11   Re: Spawn Player
Reply With Quote #6

Try do some search, is there too many ways to do that.
__________________








CrazY. is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 05-08-2018 , 13:01   Re: Spawn Player
Reply With Quote #7

Me searching from 2 weeks not getting anything what i want that's why I want some small helps from you PROs
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 05-09-2018 , 02:28   Re: Spawn Player
Reply With Quote #8

HOW TO RANDOM this origins and how to save and read then from file and spawn players.....beq all maps have different spawn point

PHP Code:
L 05/09/2018 11:34:18Spawn Origin 1149386793 1159898194 1124335986
L 05
/09/2018 11:34:27Spawn Origin 1138065570 1155399424 1108353024
L 05
/09/2018 11:34:36Spawn Origin 1132987392 1158545205 1124337664
L 05
/09/2018 11:34:50Spawn Origin 1155399424 1156448290 1119868641
L 05
/09/2018 11:35:31Spawn Origin 1151467776 1159233700 1116460762
L 05
/09/2018 11:35:42Spawn Origin 1132986404 1160445824 1124337664 
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 05-09-2018 , 10:16   Re: Spawn Player
Reply With Quote #9

Take a look at this code, maybe can help you.

https://forums.alliedmods.net/showthread.php?t=43660
__________________








CrazY. is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 05-09-2018 , 11:28   Re: Spawn Player
Reply With Quote #10

me already cheked this one 100 tiems but i will chose side by manually thats why players mustbe spawn by my spawn points
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
Reply



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 04:32.


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