22.02.2011, 18:19
pawn Код:
GetPlayerCount()
GetPlayerCount()
stock GetPlayerCount()
{
new amount=0;
for(new i=0; i<MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
amount++;
}
}
return amount;
}
stock GetConnectedPlayers() return Iter_Count(Character);
Hey Garsino if you want to get the X/Y/Z where you died, before you spawn back, and then spawn to the same location that you died, where do you put the command GetPlayerPos? And where to SetPlayerPos?
Appreciated. |