Raised This Month: $51 Target: $400
 12% 

Solved Player join spawn instantly


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vegeta1241
AlliedModders Donor
Join Date: Apr 2017
Location: Switzerland
Old 04-24-2017 , 15:10   Player join spawn instantly
Reply With Quote #1

Hello,

i need a script :

When a player connect in server he is waiting the end of the round.

I want a plugin when player join he spawn instantly and not wait the end of the round.

Sorry for my bad english..

Last edited by vegeta1241; 04-27-2017 at 16:34.
vegeta1241 is offline
vortex.
AlliedModders Donor
Join Date: Jan 2017
Location: OnGameFrame()
Old 04-24-2017 , 15:40   Re: Player join spawn instantly
Reply With Quote #2

What do you want? I dont understand anything.
__________________
vortex. is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 04-24-2017 , 15:50   Re: Player join spawn instantly
Reply With Quote #3

Quote:
Originally Posted by vegeta1241 View Post
Hello,

i need a script :

When a player connect in server he is waiting the end of the round.

I want a plugin when player join he spawn instantly and not wait the end of the round.

Sorry for my bad english..
mp_join_grace_time
headline is offline
vegeta1241
AlliedModders Donor
Join Date: Apr 2017
Location: Switzerland
Old 04-24-2017 , 19:23   Re: Player join spawn instantly
Reply With Quote #4

Thanks !
vegeta1241 is offline
vegeta1241
AlliedModders Donor
Join Date: Apr 2017
Location: Switzerland
Old 04-27-2017 , 07:18   Re: Player join spawn instantly
Reply With Quote #5

Not working,..
vegeta1241 is offline
vortex.
AlliedModders Donor
Join Date: Jan 2017
Location: OnGameFrame()
Old 04-27-2017 , 12:13   Re: Player join spawn instantly
Reply With Quote #6

what do you want?
__________________
vortex. is offline
vegeta1241
AlliedModders Donor
Join Date: Apr 2017
Location: Switzerland
Old 04-27-2017 , 12:50   Re: Player join spawn instantly
Reply With Quote #7

When players join my serv, if the round has started, the players must wait the end of the round, and i want when player join my serv, they spawn instantly, (i don't want death players)
vegeta1241 is offline
andi67
Veteran Member
Join Date: Mar 2007
Location: Somewhere near you!!!
Old 04-27-2017 , 15:01   Re: Player join spawn instantly
Reply With Quote #8

Maybe something like this could work:

Quote:
public void OnClientPostAdminCheck(int client)
{
CreateTimer(15.0, Connected, client);
}

public Action Connected(Handle timer, any client)
{
if (IsClientInGame(client))
{
CS_RespawnPlayer(client);
}
else if (IsClientConnected(client))
{
CreateTimer(15.0, Connected, client);
}
}
__________________
Waiting for HL3,Day of Defeat3 ,but will it ever come? So I'm gonna play COD WW2.>>>>SM_SKINCHOOSER<<<<
>>You need Models for DODS/CSS/CSGO , than click here!!!<<
andi67 is offline
vortex.
AlliedModders Donor
Join Date: Jan 2017
Location: OnGameFrame()
Old 04-27-2017 , 15:15   Re: Player join spawn instantly
Reply With Quote #9

Quote:
Originally Posted by andi67 View Post
Maybe something like this could work:
Dont use code tags, use php tags please.
__________________
vortex. is offline
vegeta1241
AlliedModders Donor
Join Date: Apr 2017
Location: Switzerland
Old 04-27-2017 , 15:51   Re: Player join spawn instantly
Reply With Quote #10

Quote:
Originally Posted by andi67 View Post
Maybe something like this could work:
ERROR :
groups/sourcemod/upload_tmp/textdGfipB.sp(10) : error 017: undefined symbol "CS_RespawnPlayer"
vegeta1241 is offline
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 10:17.


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