SA-MP Forums Archive
Run style - 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: Run style (/showthread.php?tid=382024)



Run style - Wonderweiss - 01.10.2012

Can someone tell me how to change the player run style i want all to run like cj not like peds help pls !!


Re: Run style - ShOoBy - 01.10.2012

Add "UsePlayerPedAnims();" at "public OnGameModeInit()"

So it will look something like this:

pawn Код:
public OnGameModeInit()
{
    UsePlayerPedAnims();
    //other stuff
    return 1;
}



Re: Run style - Wonderweiss - 01.10.2012

i get these errors
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(411 ) : error 055: start of function body without function header
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(414 ) : error 021: symbol already defined: "ShowPlayerMarkers"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(420 ) : error 021: symbol already defined: "AddPlayerClass"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(462 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(566 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(571 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(579 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(583 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(586 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(598 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(602 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(607 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(613 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(625 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(628 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(630 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(641 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(643 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(648 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(661 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(665 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(675 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(694 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(716 ) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(767 ) : error 021: symbol already defined: "AddStaticPickup"
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(773 ) : error 021: symbol already defined: "SetTimer"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.



and look at this pic did i do smth wrong O.o



Re: Run style - ShOoBy - 02.10.2012

Yes. After "//other stuff" you have to remove that part with
pawn Код:
return 1;
{
}
Remove that and then tell me if you still have any errors


Re: Run style - Lordzy - 02.10.2012

You must include a_samp at top of your script.
pawn Код:
#include <a_samp>



Re: Run style - Jarnu - 02.10.2012

In short:

put
pawn Код:
UsePlayerPedAnims();
under OnGameModeInit


Re: Run style - Wonderweiss - 02.10.2012

Thanks guys fixed it