SA-MP Forums Archive
A script that disables CJ run - 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)
+--- Thread: A script that disables CJ run (/showthread.php?tid=310319)



A script that disables CJ run - kLL - 11.01.2012

That's what I do need, I am sorry if I posted in the wrong section.


#2


I need a way to make mapping objects permanently, which means they do not dissapear after I go away from them.

i.e. I go next to a building, and there are a few objects there, when I approach the building, I see the mapping, when I go away, it dissapears.


Thanks in advance !


Re: A script that disables CJ run - Psymetrix - 11.01.2012

UsePlayerPedAnims(); under OnGameModeInit will disable CJ run.

Not sure what you mean for the second part. A streamer?


Re: A script that disables CJ run - kLL - 11.01.2012

I think a streamer, yes.

Regarding the pedanims, would you please create it for me? I am honestly not such a good scripter, willing to learn.

=[


Re: A script that disables CJ run - Psymetrix - 11.01.2012

pawn Код:
public OnGameModeInit()
{
    UsePlayerPedAnims();
    return 1;
}
Try THIS streamer.


Re: A script that disables CJ run - kLL - 11.01.2012

Where do I have to add the code that you posted above?

Right in the script or.. any specific place?


Also, which one is for the mapping objects?


Re: A script that disables CJ run - Psymetrix - 11.01.2012

Just add UsePlayerPedAnims(); under OnGameModeInit.


Re: A script that disables CJ run - Jochemd - 11.01.2012

Ehrm, that actually enables the ped anims. You have to use OnPlayerKeyStateChange do set the normal walk when using CJ.


Re: A script that disables CJ run - Psymetrix - 11.01.2012

Oh, my bad! In that case, Can't you just remove CJ from your server?


Re: A script that disables CJ run - kLL - 11.01.2012

Each skins has CJ run (the fast run), and I would like to disable it.

Any precise answer, please?


Re: A script that disables CJ run - Jochemd - 11.01.2012

Quote:
Originally Posted by kLL
Посмотреть сообщение
Each skins has CJ run (the fast run), and I would like to disable it.

Any precise answer, please?
Search your script for UsePlayerPedAnims and remove it.