17.10.2009, 23:42
Quote:
Originally Posted by rtydrtyd
Ok yeah i have a nother problem, i now i cant delete the 2nd OnGameModeInit so what exactly do i do to fix it lol i need to learn how to scrip :P
Quote:
Quote:
|
You can't use OnGameModeInit() if you have OnFilterScriptInit() because you're need to use OnGameModeInit() when you creating a gamemode script ONLY
and OnFilterScriptInit() when you creating a filterscript ONLY !
So, now you probably have gamemode, so we will leave OnGameModeInit and delete OnFilterScriptInit
pawn Код:
new MyFirstNPCVehicle;
public OnGameModeInit()
{
print("SAGC");
ConnectNPC("ROBERT","mynpc");
MyFirstNPCVehicle = CreateVehicle(420,1536.6427,-841.7883,64.4755,266.3878,6,1, 5000);
return 1;
}