View Single Post
Bimbo1
Senior Member
Join Date: Jan 2010
Location: brazil
Old 11-04-2013 , 08:27   Re: !Redie to spawn on Alive players
Reply With Quote #6

new players[MaxClients+1];
new count = 0;
for(new i = 1; i 0){

decl Float:pos[3];
GetClientAbsOrigin(players[GetRandomInt(0, count-1)], pos);
TeleportEntity(client, pos NULL_VECTOR, NULL_VECTOR);

}

fudge, tapatalk screwed this up... i will rewrite it later.
__________________
sie sind das essen und wir sind die jäger!

Last edited by Bimbo1; 11-04-2013 at 08:30.
Bimbo1 is offline