I think im abusing VARS
#4

Quote:
Originally Posted by CrαcK
Taken from lvdm.pwn:
pawn Код:
//top of the script
new Float:gRandomPlayerSpawns[23][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},
{2000.0106,1521.1111,17.0625},
{2024.8190,1917.9425,12.3386},
{2261.9048,2035.9547,10.8203},
{2262.0986,2398.6572,10.8203},
{2244.2566,2523.7280,10.8203},
{2335.3228,2786.4478,10.8203},
{2150.0186,2734.2297,11.1763},
{2158.0811,2797.5488,10.8203},
{1969.8301,2722.8564,10.8203},
{1652.0555,2709.4072,10.8265},
{1564.0052,2756.9463,10.8203},
{1271.5452,2554.0227,10.8203},
{1441.5894,2567.9099,10.8203},
{1480.6473,2213.5718,11.0234},
{1400.5906,2225.6960,11.0234},
{1598.8419,2221.5676,11.0625},
{1318.7759,1251.3580,10.8203},
{1558.0731,1007.8292,10.8125},
//{-857.0551,1536.6832,22.5870},  Out of Town Spawns
//{817.3494,856.5039,12.7891},
//{116.9315,1110.1823,13.6094},
//{-18.8529,1176.0159,19.5634},
//{-315.0575,1774.0636,43.6406},
{1705.2347,1025.6808,10.8203}
};

//somewhere in the script
new rand = random(sizeof(gRandomPlayerSpawns));
SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player
Won't that spawn some people in the same poistion as others?
Reply


Messages In This Thread
I think im abusing VARS - by Paladin - 02.08.2009, 15:42
Re: I think im abusing VARS - by mamorunl - 02.08.2009, 15:52
Re: I think im abusing VARS - by CracK - 02.08.2009, 15:55
Re: I think im abusing VARS - by Paladin - 02.08.2009, 16:07
Re: I think im abusing VARS - by mamorunl - 02.08.2009, 16:08
Re: I think im abusing VARS - by Paladin - 02.08.2009, 16:16
Re: I think im abusing VARS - by CracK - 02.08.2009, 16:19
Re: I think im abusing VARS - by Paladin - 02.08.2009, 16:26
Re: I think im abusing VARS - by CracK - 02.08.2009, 19:04
Re: I think im abusing VARS - by Paladin - 02.08.2009, 19:18

Forum Jump:


Users browsing this thread: 3 Guest(s)