Can Someone help me!?!?!?!?!?!?!
#1

Hey i need some help

How can i make a Rcon admin only spawn place?
i want to spawn in a admin house.



btw: Sry for bad english :P
Reply
#2

OnPlayerSpawn:
pawn Код:
if(IsPlayerAdmin(playerid))
{
SetPlayerPos(playerid,x,y,z);
SetPlayerInterior(playerid,x,y,z);
}
else
{
//do whatever
}
Reply
#3

where should I put that?
Reply
#4

OnPlayerSpawn
Reply
#5

Quote:
Originally Posted by Miokie*
OnPlayerSpawn:
pawn Код:
if(IsPlayerAdmin(playerid))
{
SetPlayerPos(playerid,x,y,z);
SetPlayerInterior(playerid,x,y,z);
}
else
{
//do whatever
}
i didnt see it lol thnx
Reply
#6

Maybe better OnPlayerRequestSpawn
because if you spawn and then you login as RCON,you will need to re-spawn to
spawn at admin house
Reply
#7

Quote:
Originally Posted by Luka™
Maybe better OnPlayerRequestSpawn
because if you spawn and then you login as RCON,you will need to re-spawn to
spawn at admin house
I don't see how that'll make any difference.
Reply
#8

Oh,my bad
But you can create when player login as RCON then set his spawn info?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)