[FilterScript] [UNIQUE] Star Wars Power System [UNIQUE] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [UNIQUE] Star Wars Power System [UNIQUE] (
/showthread.php?tid=282641)
Re: [UNIQUE] Star Wars Power System [UNIQUE] -
wups - 12.09.2011
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.
Re : Re: [UNIQUE] Star Wars Power System [UNIQUE] -
Naruto_Emilio - 12.09.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.
Re: [UNIQUE] Star Wars Power System [UNIQUE] -
wups - 12.09.2011
pawn Code:
for(new i; i<MAX_PLAYERS;i++)
{
if(i != playerid && IsPlayerNearPlayer(playerid, i, 2.0))
{
PushFunctionHere;
break;
}
}
Re : Re: [UNIQUE] Star Wars Power System [UNIQUE] -
Naruto_Emilio - 12.09.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
Re: [UNIQUE] Star Wars Power System [UNIQUE] -
exassasinx - 30.06.2012
GOOD BUT NOT PERFECT, please add force pull, force choke, fast running and force electric shock
Re: [UNIQUE] Star Wars Power System [UNIQUE] -
coolmark1995 - 30.06.2012
horrible -1
Re: [UNIQUE] Star Wars Power System [UNIQUE] -
qkac1234 - 15.01.2013
Oh