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



CJ Run - James_Bourne - 13.08.2011

Well, in my SF CnR i want that everybody runs like CJ

https://sampwiki.blast.hk/wiki/UsePlayerPedAnims
MadeMan Gave me that but i putted it under ongamemodeinit on the game mode pwn it just give errors
This error came:
Код:
C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(1461) : error 029: invalid expression, assumed zero
C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(1462) : error 001: expected token: ";", but found "{"
C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(1466) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
It is Under look:
Код:
	public OnGameModeInit()
	{
	public OnGameModeInit()
	{
	UsePlayerPedAnims();
	return 1;
	}



AW: CJ Run - jaksimaksi - 13.08.2011

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



AW: CJ Run - samtey - 13.08.2011

Will the gangster walkstyle stay?


Re: AW: CJ Run - MadeMan - 13.08.2011

You just add 1 line to OnGameModeInit, and it's this:

pawn Код:
UsePlayerPedAnims();
Quote:
Originally Posted by samtey
Посмотреть сообщение
Will the gangster walkstyle stay?
No.


Re: CJ Run - James_Bourne - 13.08.2011

Thanks mademan.