Minigun Bug?
#1

Hello everyone can someone explain why it happens so?
I take a minigun with a variable and those who see me in possession of the minigun I see myself with hourglass

Photo 1:
I have the mingun



foto2:

As a player he sees me:





Thank you for seeing this post
Reply
#2

Did you check OnPlayerUpdate in all of your scripts (including plugins) for its return value?
Reply
#3

Skin modification. Nuff said :3
Reply
#4

The player or you was not updated(see the hourglass over your head).
Reply
#5

I checked everything under OnPlayerUpdate to have just that in the case of possession of minigun without variable you die




PHP код:
if(GetPlayerWeapon(playerid) == 38)
{
if(
minigun[playerid] == 2) return 0;
if(
minigun[playerid] == 0)
{
SetPlayerHealth(playerid0.00);
GameTextForPlayer(playerid"~r~Il minigun e permesso solo a /minigundm"30004);
}

Reply
#6

Do NOT return 0, if you want to keep the players synced to your server.
Reply
#7

thanks!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)