shotgun room
#3

well it does not help i get like 26 errors xD

this is how the script looks like:

Code:
public OnPlayerDeath(playerid, killerid, reason)
{

	SendClientMessage(killerid, 0xAA3333AA, "You just killed a player");
	SendClientMessage(killerid, COLOR_GREEN, "( $ ) +1000");
	GivePlayerMoney(killerid, 1000);
	SendClientMessage(playerid, 0xAA3333AA, "( $ ) -100");
	GivePlayerMoney(playerid, -100);
	
	
	// Cityhall
	if IsPlayerInRangeOfPoint(playerid, 200, 368.2953,173.8816,1008.3828)
	*then SendClientMessage(killerid, 0xFF0000FF, "( ! ) You are kicked by the server for: Kill in a Forbidden Place")
	&& Kick(killerid);
	else
	// Bank
	if IsPlayerInRangeOfPoint(playerid, 200, 347.2672,173.7295,1014.1875)
	*then SendClientMessage(killerid, 0xFF0000FF, "( ! ) You are kicked by the server for: Kill in a Forbidden Place")
	&& Kick(killerid);
	else
	// shotgun war
	if IsPlayerInRangeOfPoint(playerid, 100, -19.0286,-175.3378,1003.5469)
	*then SetPlayerInterior(playerid, 17)
	&& SetPlayerPos(playerid, -19.0286,-175.3378,1003.5469)
	&& SetPlayerFacingAngle(playerid, 330.8037)
	&& GivePlayerWeapon(playerid, 25, 1000)
	&& SetPlayerHealth(playerid, 100)
  	&& SetPlayerArmour(playerid, 100);
  	else
  	SetPlayerVirtualWorld(playerid, 0);
  	SetPlayerInterior(playerid, 0);
	return 1;

}
and i have tried it your way with those { / } all the way and that bugged 2
Reply


Messages In This Thread
shotgun room - by Madsen - 28.02.2011, 14:34
Re: shotgun room - by Baboon - 28.02.2011, 18:15
Re: shotgun room - by Madsen - 28.02.2011, 18:45
Re: shotgun room - by sim_sima - 01.03.2011, 15:29
Re: shotgun room - by Lorrden - 01.03.2011, 15:32
Re: shotgun room - by Hashski - 01.03.2011, 15:54
Re: shotgun room - by Madsen - 01.03.2011, 16:50
Re: shotgun room - by Madsen - 02.03.2011, 13:38
Re: shotgun room - by Lorrden - 02.03.2011, 15:33
Re: shotgun room - by Madsen - 02.03.2011, 15:47

Forum Jump:


Users browsing this thread: 1 Guest(s)