03.12.2009, 06:37
You know how to set up random skin + pos at first time he registers.I tried something.. Any other idea,please post here.Thanks
Code:
new Civ[] = {135,136,137,134}; new Float:gRandomPlayerSpawns[5][3] = { {1958.3783,1343.1572,15.3746}, {2199.6531,1393.3678,10.8203}, {2483.5977,1222.0825,10.8203}, {2637.2712,1129.2743,11.1797}, {1705.2347,1025.6808,10.8203} };
Code:
new rand = random(sizeof(Civ)); PlayerInfo[playerid][pModel] = Civ[rand]; new rand1 = random(sizeof(gRandomPlayerSpawns)); SetPlayerPos(playerid, gRandomPlayerSpawns[rand1][0], gRandomPlayerSpawns[rand1][1], gRandomPlayerSpawns[rand1][2]);