Just 1 line ;(
#1

SetDisabledWeapons Is now removed
It was a best thing againts bad weapons I needed
Can you plz bring it back ?
Reply
#2

Help yourself with OnPlayerUpdate callback and GetPlayerWeapon function.
Reply
#3

Quote:
Originally Posted by Don Correlli
Help yourself with OnPlayerUpdate callback and GetPlayerWeapon function.
Ohhhh man.....
I will try
Reply
#4

You can't fix Nightvision bug now... That function was very useful, so bring it back please?
Reply
#5

Also, You can use an anti cheat
Reply
#6

Quote:
Originally Posted by Przemcio
You can't fix Nightvision bug now... That function was very useful, so bring it back please?
Yeah, I used to have this bug to...
But now if you use "onplayerupdate" .. if it detects nightvision it will disarmhim or something...
Its lame now... I will just waste more time on scripting
Reply
#7

pawn Код:
public OnPlayerUpdate(playerid)
{
  if(!IsPlayerConnected(playerid)) return 0;
  if(GetPlayerWeapon(playerid)==any_forbidden_gun)
  {
    SendClientMessage(playerid,color,"This weapon is forbidden!");
    // Look for a function called "RemovePlayerWeapon(playerid,weaponid) and remove this weaponid.
  }
  return 1;
}
Reply
#8

I use Nightvision in my gamemode, therefore that function is very important to me.
Reply
#9

Quote:
Originally Posted by Przemcio
You can't fix Nightvision bug now... That function was very useful, so bring it back please?
Maybe this bug is fixed, i don't know, i didn't tried yet. :/
Reply
#10

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Przemcio
You can't fix Nightvision bug now... That function was very useful, so bring it back please?
Maybe this bug is fixed, i don't know, i didn't tried yet. :/
Yeah, NightVision and InfraRed bugs are ANNOYING !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)