Run style
#1

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

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

So it will look something like this:

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

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
Reply
#4

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
Reply
#5

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

In short:

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

Thanks guys fixed it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)