10.11.2008, 20:13
I've browsed the SAMP wiki,but I can't seem to find how to change the default SAMP running style to CJ's running style. I'd appreciate it if I got an answer.
|
Originally Posted by iMatt™
Add that in OnGameModeInit
|
C:\Users\Toyotaspeed\Documents\GTA\Sever\scriptfiles\Untitled.pwn(8) : error 025: function heading differs from prototype C:\Users\Toyotaspeed\Documents\GTA\Sever\scriptfiles\Untitled.pwn(8) : error 029: invalid expression, assumed zero C:\Users\Toyotaspeed\Documents\GTA\Sever\scriptfiles\Untitled.pwn(8) : error 001: expected token: ")", but found ";" C:\Users\Toyotaspeed\Documents\GTA\Sever\scriptfiles\Untitled.pwn(8) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
public OnGameModeInit()
{
UsePlayerPedAnims();
return 1;
}
print("\n----------------------------------");
print(" Toyotaspeed Wars");
print("----------------------------------\n");
}
public OnGameModeInit()
{
UsePlayerPedAnims();
return 1;
}
C:\Users\Toyotaspeed\Documents\GTA\Sever\scriptfiles\Untitled.pwn(13) : error 055: start of function body without function header C:\Users\Toyotaspeed\Documents\GTA\Sever\scriptfiles\Untitled.pwn(15) : error 021: symbol already defined: "SetGameModeText" C:\Users\Toyotaspeed\Documents\GTA\Sever\scriptfiles\Untitled.pwn(21) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
#include <a_samp>
main()
{
print("\n----------------------------------");
print(" Toyotaspeed Wars");
print("----------------------------------\n");
}
public OnGameModeInit()
{
UsePlayerPedAnims();
return true;
}
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnGameModeExit()
{
return 1;
}
And I get this error: C:\Users\Toyotaspeed\Documents\GTA\Sever\scriptfiles\TS.pwn(15) : error 055: start of function body without function header C:\Users\Toyotaspeed\Documents\GTA\Sever\scriptfiles\TS.pwn(17) : error 021: symbol already defined: "SetGameModeText" C:\Users\Toyotaspeed\Documents\GTA\Sever\scriptfiles\TS.pwn(19) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.