17.10.2009, 23:54
Eh yeah that dident work now i get
and i i take
out i get
Quote:
C:\Users\john\Desktop\Desktop files\0.3\gamemodes\sagc.pwn(1330) : error 055: start of function body without function header C:\Users\john\Desktop\Desktop files\0.3\gamemodes\sagc.pwn(1333) : error 010: invalid function or declaration C:\Users\john\Desktop\Desktop files\0.3\gamemodes\sagc.pwn(1337) : error 021: symbol already defined: "OnGameModeInit" C:\Users\john\Desktop\Desktop files\0.3\gamemodes\sagc.pwn(1573) : error 021: symbol already defined: "OnPlayerSpawn" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
Quote:
{ print("scriptfiles"); ConnectNPC("ROBERT","mynpc"); return 1; } new MyFirstNPCVehicle; //Global variable! public OnGameModeInit() { print("SAGC"); ConnectNPC("ROBERT","mynpc"); MyFirstNPCVehicle = CreateVehicle(420,1536.6427,-841.7883,64.4755,266.3878,6,1, 5000); return 1; } and if i take |
Quote:
{ print("scriptfiles"); ConnectNPC("ROBERT","mynpc"); return 1; } |
Quote:
C:\Users\john\Desktop\Desktop files\0.3\gamemodes\sagc.pwn(1329) : error 054: unmatched closing brace ("}") C:\Users\john\Desktop\Desktop files\0.3\gamemodes\sagc.pwn(1332) : error 021: symbol already defined: "OnGameModeInit" C:\Users\john\Desktop\Desktop files\0.3\gamemodes\sagc.pwn(156 : error 021: symbol already defined: "OnPlayerSpawn" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors. |