SA-MP Forums Archive
Sprint Help xD - 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: Sprint Help xD (/showthread.php?tid=500170)



Sprint Help xD - UfsDev - 11.03.2014

Hello.... Guyz. I Want Little Help When I Running In Server Its Walking Like A Girl How To Change It Please Can Anyone Tell Me Ex: Its Sprint Like A Girl...


Re: Sprint Help xD - Matess - 11.03.2014

Код:
public OnGameModeInit()
{
    UsePlayerPedAnims();
    return 1;
}



Re: Sprint Help xD - UfsDev - 11.03.2014

Where Should i Add This Code: ?


Re: Sprint Help xD - Abagail - 11.03.2014

Press CTRL+F and search for OnGameModeInit... Replace the old code with that...

public OnGameModeInit()
{
UsePlayerPedAnims();
return 1;
}


Re: Sprint Help xD - azzerking - 11.03.2014

lol,

Matess, has given you the function to stick it in. public OnGameModeInit()


Re: Sprint Help xD - UfsDev - 11.03.2014

LOL Now What I Have To Do :O xD


Re: Sprint Help xD - KhaledElkhourashi - 11.03.2014

In an easily way, UsePlayerPedAnims (); function making the player running like CJ run, like sprint run as you said
But where I can put this function pls? Ok you have to put it in your gamemode after this two lines
OnGameModeInit()
{
UsePlayerPedAnims(); //just put it here like what I did
return 1;
}
Also for your information, if you want to add any object or vehicle you have to put it after
OnGameModeInit()
{
After this two lines & also don't forget to close it with return 1; & }

CreateObject.
CreateVehcle.
That's what I'm talking about, hope I helped you.


Re: Sprint Help xD - UfsDev - 11.03.2014

Khaled you have skype ?


Re: Sprint Help xD - Matess - 11.03.2014

Open your gamemode. Hit ctrl + f and write "ongamemodeinit". When you found it then put UsePlayerPedAnims(); there...


Re: Sprint Help xD - UfsDev - 11.03.2014

Add Me On Skype : Crx.Friends + Check ur Private Msg On Forum Ryt Now bro and add me on forum thx in advanCe