All pastes #256254 Raw Edit

Something

public text v1 · immutable
#256254 ·published 2006-11-23 22:34 UTC
rendered paste body
public OnPlayerSpawn(playerid)// look here for this shit anbout spawns random
{

	SetPlayerRandomStartSpawn(playerid);


}
{
   	 	new string[256];
    	new name[MAX_PLAYER_NAME];
    	GetPlayerName(playerid, name, sizeof(name));
    	format(string,sizeof(string),"~w~Welcome %s You Have Spawned",name);
    	GameTextForPlayer(playerid,string,6000,1);
		SetPlayerInterior(playerid,0);
		return 1;
}
        new Float:SpawnPoints[4][3] =
		{
			{1469.3442,-1089.4425,213.3828},
			{1434.5544,-1089.2045,213.3828},
			{1433.1183,-1046.4718,213.3828},
			{1469.1140,-1044.9768,213.3828}
		};

public SetPlayerRandomStartSpawn(playerid)
{
	new rand = random(sizeof(SpawnPoints));
	SetPlayerPos(playerid, SpawnPoints[rand][0], SpawnPoints[rand][1], SpawnPoints[rand][2]);
	return 1;
}