How can i walk and shoot?
#1

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?
Reply
#2

while shooting move with your movements buttons.
Reply
#3

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 ))

Reply
#4

Use a different gun?
Reply
#5

https://sampwiki.blast.hk/wiki/SetPlayerSkillLevel
Reply
#6

Some servers have your weapon level set to one. You can't show while moving then.
Reply
#7

what level does it have to be to walk and shoot?
Reply
#8

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;
}
Reply
#9

and also, if anyone knows, how do i change the run animation from CJ to someone else ?
Reply
#10

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
pawn Код:
UsePlayerPedAnims();
It's under GameModeInit
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)