Cubans vs Haitians . Score

Started by =RK=MarineForce, Sep 08, 2018, 08:29 AM

Previous topic - Next topic

umar4911

Quote from: =RK=MarineForce on Sep 11, 2018, 02:10 PMOKKKKKKKK

https://ibb.co/fwchC9
now give the code it has error and mention the time number that has error.
I am gamer, programmer and hacker. Try to find me!
xD

=RK=MarineForce

Try to UnderStand ME!

umar4911

I am gamer, programmer and hacker. Try to find me!
xD

=RK=MarineForce

hmm i don't know that line server is showing error which i gave  u in screen short.

line 3 i think.

but ur script look like there is no bug but how its showing error?
Try to UnderStand ME!

Thomas

for f sakes, use switch(player.Skin) where possible.

=RK=MarineForce

Try to UnderStand ME!

=RK=MarineForce

dump* no work thanks for ur help
Try to UnderStand ME!

umar4911

Quote from: =RK=MarineForce on Sep 14, 2018, 10:34 AMdump* no work thanks for ur help
no work? You are not providing complete details of the error. It's your mistake
I am gamer, programmer and hacker. Try to find me!
xD

=RK=MarineForce

#38
i removed some thing from OnPlayerKill . its works how?

this is works for me

function onPlayerKill( killer,player, reason, bodypart )
{
  for(local i=0; i< =GetMaxPlayers();i++)
  {
   local plr = FindPlayer(i);
   if(plr) SendDataToClient(plr, 1, "1");
  }
  for(local i= 0; i< =GetMaxPlayers();i++)
  {
   local plr = FindPlayer(i);
   if(plr) SendDataToClient(plr, 2, "1");
}
}
 
Try to UnderStand ME!

=RK=MarineForce

#39
function onPlayerKill( killer,player, reason, bodypart )
{
if ( (player.Skin == 85) || (player.Skin ==86 ) )
{
Message(" [#CCFF00] [Cuban Team] Got a Score by Killing Haitian Player +1 ");
for(local i=0;i<=GetMaxPlayers();i++)
{
local plr = FindPlayer(i);
if(plr) SendDataToClient(plr, 1, "1");
}
}
if ( (player.Skin == 83) || (player.Skin ==84 ) )
{
Message(" [#00cc00] [Haitian Team] Got a Score by Killing Cuban Player +1 ");
for(local i=0;i<=GetMaxPlayers();i++)
{
local plr = FindPlayer(i);
if(plr) SendDataToClient(plr, 2, "1");
}
}
if ( Stats[ player.ID ].AntiSP )
 {
  killer.Health = 0;
  Message( "[#00de00]Information: [#fbf3f3]" + killer.Name + " Have Been Killed. Reason: Spawn-Kill." );
 
}
else
{
player.PlaySound( 50015);
 stats[ player.ID ].kills++;
 inccash( player );
 stats[ killer.ID ].deaths++;
 deccash( killer );
  KillingSpree.IsSpree( killer, player, reason );
Message( "[#1FFFF9]>> " + killer.Name + "[#FFF11B] killed [#FF0000] " + player.Name + "[#FFF11B] Weapon: [[#6BFF46]" + GetWeaponName( reason ) + "[#FFF11B]] [#FFF11B]Ping:[#1FFFF9][" + killer.Ping + "]" );
}
}
Fixed
Try to UnderStand ME!