How does UsePlayerPedAnims(); works ? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How does UsePlayerPedAnims(); works ? (
/showthread.php?tid=183799)
How does UsePlayerPedAnims(); works ? -
Voldemort - 16.10.2010
I want suicide

, Where and how to use this function
As wiki says I need to put it under OnGameModeInit(), but its still not working, actualy only way how to get it work is to put under OnPlayerSpawn(), but than its works only for ID 0, so what should I do?
Does I need it before AddPlayerClass(.. or after it, or its nothing to do with PedAnims... ?
PS. I have already readed all posts where this function figuring.
Re: How does UsePlayerPedAnims(); works ? -
Voldemort - 16.10.2010
pawn Код:
public OnGameModeInit() //ServerStart
{
UsePlayerPedAnims();
SetNameTagDrawDistance(10);
DisableInteriorEnterExits();
ShowPlayerMarkers(0);
AllowAdminTeleport(1);
EnableStuntBonusForAll(0);
AllowInteriorWeapons(1);
SetGameModeText("Role Play");
SendRconCommand("mapname San Andreas");
format(hostname,sizeof(hostname),"hostname %s",ServerName);
SendRconCommand(hostname);
for(new c=0;c<MAX_VEHICLES;c++) { Fuel[c] = 100; }
LoadHouse();
LoadEnters();
LoadBusiness();
...
What else should I do?
Re: How does UsePlayerPedAnims(); works ? -
SkizzoTrick - 16.10.2010
Try to search a bit next time but here is the link
CLICK ME!
Re: How does UsePlayerPedAnims(); works ? -
Voldemort - 16.10.2010
This is what I expect
Quote:
Original by Voldemort
As wiki says I need to put it under OnGameModeInit(), but its still not working
|
Re: How does UsePlayerPedAnims(); works ? -
Austin - 16.10.2010
How does it not work?!
Re: How does UsePlayerPedAnims(); works ? -
Voldemort - 16.10.2010
It has CJ run style
Aka "I run fast" aka "when I start game , not online" aka "Fast walk style" aka "Non CJ"
each person call it different
How does UsePlayerPedAnims(); works ? -
[NoV]LaZ - 16.10.2010
Quote:
Originally Posted by Voldemort
Where and how to use this function
|
Use
UsePlayerPedAnims to run like CJ.
Remove it if you want to run like a pedestrian.
Re: How does UsePlayerPedAnims(); works ? -
Austin - 16.10.2010
Then DON'T use UsePlayerPedAnims();, take it AWAY.
Re: How does UsePlayerPedAnims(); works ? -
Voldemort - 16.10.2010
So its works oposite?
wtf than, than its like SetPlayerHealth(.. means to not set health
Anyway, thank you all, else I just wanted to kill my self. xD
Re: How does UsePlayerPedAnims(); works ? -
Jaxson - 22.10.2010
Question. . . Is it possible to enable this function for one player only? If I want to make certain players faster than the others.