Posts: 1,297
Threads: 17
Joined: Apr 2011
Quote:
Originally Posted by wups
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.
Posts: 1,297
Threads: 17
Joined: Apr 2011
Quote:
Originally Posted by wups
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
Posts: 11
Threads: 0
Joined: Jun 2012
Reputation:
0
GOOD BUT NOT PERFECT, please add force pull, force choke, fast running and force electric shock