[FilterScript] [UNIQUE] Star Wars Power System [UNIQUE]
#21

You don't reset the players class onplayerconnect.
And wtf is this:
pawn Code:
new id;
if(IsPlayerNearPlayer(playerid, id, 2.0))
Will only work on playerid 0.
Reply
#22

Quote:
Originally Posted by wups
View Post
You don't reset the players class onplayerconnect.
And wtf is this:
pawn Code:
new id;
if(IsPlayerNearPlayer(playerid, id, 2.0))
Will only work on playerid 0.
Oh that's for pushing someone, it works on all players but PLAYER ID 0 pushs himself, it works when you push someone. as i said in bugs this is my bugg.
Reply
#23

pawn Code:
for(new i; i<MAX_PLAYERS;i++)
{
     if(i != playerid && IsPlayerNearPlayer(playerid, i, 2.0))
     {
          PushFunctionHere;
          break;
     }
}
Reply
#24

Quote:
Originally Posted by wups
View Post
pawn Code:
for(new i; i<MAX_PLAYERS;i++)
{
     if(i != playerid && IsPlayerNearPlayer(playerid, i, 2.0))
     {
          PushFunctionHere;
          break;
     }
}
Thanks i will add your credits
Reply
#25

GOOD BUT NOT PERFECT, please add force pull, force choke, fast running and force electric shock
Reply
#26

horrible -1
Reply
#27

Oh
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)