How can i walk and shoot? - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How can i walk and shoot? (
/showthread.php?tid=171974)
How can i walk and shoot? -
Camacorn - 28.08.2010
I used to play a server where you could walk and shoot at the same time,
Now im scripting my own server but i cannot walk and shoot, once i start to shoot it just stands there and shoots instead, how can i change this?
Re: How can i walk and shoot? -
!Pumpkin - 28.08.2010
while shooting move with your movements buttons.
Re: How can i walk and shoot? -
Camacorn - 28.08.2010
Yes i know, but this is what happens when i do:
(( he stopped to stand there and then it shoots but doesnt walk at same time ))
Re: How can i walk and shoot? -
Daren_Jacobson - 28.08.2010
Use a different gun?
Re: How can i walk and shoot? -
Virtual1ty - 28.08.2010
https://sampwiki.blast.hk/wiki/SetPlayerSkillLevel
Re: How can i walk and shoot? -
Adil - 28.08.2010
Some servers have your weapon level set to one. You can't show while moving then.
Re: How can i walk and shoot? -
Camacorn - 28.08.2010
what level does it have to be to walk and shoot?
Re: How can i walk and shoot? -
Souvlaki - 28.08.2010
Quote:
Originally Posted by Camacorn
what level does it have to be to walk and shoot?
|
Dunno but use 999.It's the max I think
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 999);
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL_SILENCED, 999);
SetPlayerSkillLevel(playerid, WEAPONSKILL_DESERT_EAGLE, 999);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SHOTGUN, 999);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 999);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SPAS12_SHOTGUN, 999);
SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 999);
SetPlayerSkillLevel(playerid, WEAPONSKILL_MP5, 999);
SetPlayerSkillLevel(playerid, WEAPONSKILL_AK47, 999);
SetPlayerSkillLevel(playerid, WEAPONSKILL_M4, 999);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SNIPERRIFLE, 999);
return 1;
}
Re: How can i walk and shoot? -
Camacorn - 28.08.2010
and also, if anyone knows, how do i change the run animation from CJ to someone else ?
Re: How can i walk and shoot? -
Souvlaki - 28.08.2010
Quote:
Originally Posted by Camacorn
and also, if anyone knows, how do i change the run animation from CJ to someone else ?
|
Delete this from your Gm
It's under GameModeInit