• Welcome to Vice City Multiplayer.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - scripter_pawn

#1
function onPlayerKill( killer, killed, weapon, bodypart )
{
   EchoMessage(killer+" killed "+killed);
   local event = HGet("Events","type");
   local event2 = HGet("Events","price");
   local plrprice = HGet("FBSFinance",player.Name+"cash");
   if (event == "on")
   {
   HAdd("FBSFinnance",player.Name+"cash",plrprice+event2);
   PrivMessage("Reward "+event2,player);
   }
   else
   {
      local tog = HGet("FBSStats",killer.Name+"Toggle");
   local kl = HGet("FBSStats",killer.Name+"Kills");
   if ( tog == "on") 
   {
   HAdd("FBSStats",killer.Name+"Kills",kl + 1);
   HAdd("FBSFinance",player.Name+"cash",5000);
   PrivMessage("Reward 5000 $",player);
   }
   else
   {
   HAdd("FBSM",killer.Name+"none",1);
   }
   }
}
#2
mIRC/pawn Scripting / coordonates
November 23, 2010, 07:06:03 PM
hmm i want put a new are but i dont understand the functions so the first[X]  ony chose the 1 number of the coordoate? and if yes for Y too?