All pastes #535141 Raw Edit

Untitled

public c v1 · immutable
·published 2007-06-04 00:37 UTC
rendered paste body
//Put these above Main()forward SetPlayerRandomSpawn(playerid);new Float:gRandomPlayerSpawns[9][3] = {{000.0000,0000.0000,00.0000};{000.0000,0000.0000,00.0000};{000.0000,0000.0000,00.0000};{000.0000,0000.0000,00.0000};{000.0000,0000.0000,00.0000};{000.0000,0000.0000,00.0000};{000.0000,0000.0000,00.0000};{000.0000,0000.0000,00.0000};{000.0000,0000.0000,00.0000}};// Put these Under OnPlayerSpawn new rand = random(sizeof(gRandomPlayerSpawns)); SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]);