[ Help ] how to create fracture - 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: [ Help ] how to create fracture (
/showthread.php?tid=535319)
[ Help ] how to create fracture -
Borntobie - 03.09.2014
way to create a text does not for the player run, only the go
my needs to its gamemode Dayz of me
= sorry .. ****** tran english
Re: [ Help ] how to create fracture -
mzazon - 03.09.2014
Quote:
Originally Posted by Borntobie
way to create a text does not for the player run, only the go
my needs to its gamemode Dayz of me
= sorry .. ****** tran english
|
I couldn't have understand anything could you please get some other translator? A friend maybe.
Re: [ Help ] how to create fracture -
Borntobie - 03.09.2014
I need a way to make the player can not run fast
Re: [ Help ] how to create fracture -
meitaredri - 03.09.2014
Quote:
Originally Posted by Borntobie
I need a way to make the player can not run fast 
|
You want that the player will run slowly ? :S
Re: [ Help ] how to create fracture -
Pawnify - 03.09.2014
To make the player run faster add UsePlayerPedAnims(); in ongamemodeinit
Re: [ Help ] how to create fracture -
Borntobie - 03.09.2014
no....
make the player can not run fast [ space bar ]
Re: [ Help ] how to create fracture -
Stinged - 03.09.2014
Not sure it will work.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
if (((newkeys & (KEY_SPRINT)) == (KEY_SPRINT)) && ((oldkeys & (KEY_SPRINT)) != (KEY_SPRINT)))
{
return 0;
}
}
return 1;
}