SA-MP Forums Archive
2 Small things. - 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: 2 Small things. (/showthread.php?tid=93207)



2 Small things. - shoru - 23.08.2009

How to add /countdown command?
How to have all players same walkstyle(like CJ)?


Re: 2 Small things. - James_Alex - 23.08.2009

try this for the countdown: http://forum.sa-mp.com/index.php?topic=116078.0
and this for the waling style: http://forum.sa-mp.com/index.php?topic=77446.0


Re: 2 Small things. - Joe Staff - 23.08.2009

He might also mean "UsePedAnims();" where everyone runs/walks/stands the same as CJ.


Re: 2 Small things. - shoru - 23.08.2009

UsePedAnims();

where should i add this?


Re: 2 Small things. - Zafire1410 - 23.08.2009

Quote:
Originally Posted by shoru
UsePedAnims();

where should i add this?
add in ongamemodeinit


Re: 2 Small things. - Calgon - 23.08.2009

Add UsePlayerPedAnims().


Re: 2 Small things. - shoru - 23.08.2009

WTF I dont understand .
Can anyone send me "same walkstyle as CJ" her and /coundown command, exactely how I should paste them on my gamemode?
Please


Re: 2 Small things. - _Vortex - 23.08.2009

Quote:
Originally Posted by shoru
WTF I dont understand .
Can anyone send me "same walkstyle as CJ" her and /coundown command, exactely how I should paste them on my gamemode?
Please
On your GAMEMODE, look for "public OnGamemodeInit()"

and under that put UsePlayerPedAnims();


Re: 2 Small things. - shoru - 23.08.2009

public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Training Mode ");

//Player class
AddPlayerClass(0,2104.6865,2185.5054,14.4965,85.38 13,24,1000,26,3000,32,8000);
AddPlayerClass(134,2104.6865,2185.5054,14.4965,85. 3813,24,1000,26,3000,32,8000);

//Object pickup.
AddStaticPickup( 1242, 2, 2103.9248,2169.1873,14.4965 ); //health
AddStaticPickup( 1240, 2, 2104.0808,2172.6755,14.4965 ); //armour
AddStaticPickup( 367 , 2, 2102.0193,2146.0757,15.2032 ); //Camera

return 1;
}

public OnGameModeExit()



Where?
Should I define something in front of my gamemode?


Re: 2 Small things. - Infamous - 23.08.2009

public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Training Mode ");
UsePlayerPedAnims();


Re: 2 Small things. - shoru - 23.08.2009

At last... Thanks.
I resolved, now is there anyone who can help me with coundown command?