28.02.2011, 18:45
well it does not help i get like 26 errors xD
this is how the script looks like:
and i have tried it your way with those { / } all the way and that bugged 2
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; }