Textured maps(scripting)
#1

Well I mapped some textured map and I now can't get to script it and view it so I can take screenshots of it and post it on the forums. After I add the code to ongamemodeint I get those errors:
Код:
D:\Program Files\ATG_San_and_njeklik.com\Texture-Studio-master\gamemodes\bare.pwn(63) : error 017: undefined symbol "CreateDynamicObject"
D:\Program Files\ATG_San_and_njeklik.com\Texture-Studio-master\gamemodes\bare.pwn(64) : error 001: expected token: ",", but found "..."
D:\Program Files\ATG_San_and_njeklik.com\Texture-Studio-master\gamemodes\bare.pwn(64) : error 029: invalid expression, assumed zero
D:\Program Files\ATG_San_and_njeklik.com\Texture-Studio-master\gamemodes\bare.pwn(64) : error 029: invalid expression, assumed zero
D:\Program Files\ATG_San_and_njeklik.com\Texture-Studio-master\gamemodes\bare.pwn(64) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
And here's my script
Код:
public OnGameModeInit()
{

     LoadCustomMaps();
     //all the rest of the public((I don't know what to ADD here)
     return 1;
}

LoadCustomMaps()
{
     new tmpobject;
     tmpobject = CreateDynamicObject(...);
     SetObjectMaterial(tmpobject....);
     //all the rest of the map((Here's where I add my code
     return 1;
}
	SetGameModeText("Texture Studio");
	ShowPlayerMarkers(1);
	ShowNameTags(1);
	AllowAdminTeleport(1);
	UsePlayerPedAnims();

	AddPlayerClass(265,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);

	return 1;
}
Anyone help me? Should I add any includes or fix anything, thank you.
Reply


Messages In This Thread
Textured maps(scripting) - by JXbro - 22.04.2015, 15:28
Re: Textured maps(scripting) - by lanix - 22.04.2015, 15:33
Re: Textured maps(scripting) - by JXbro - 22.04.2015, 15:40
Re: Textured maps(scripting) - by Azula - 22.04.2015, 15:41
Re: Textured maps(scripting) - by Pottus - 22.04.2015, 15:45
Re: Textured maps(scripting) - by JXbro - 22.04.2015, 15:46
Re: Textured maps(scripting) - by JXbro - 22.04.2015, 18:03

Forum Jump:


Users browsing this thread: 1 Guest(s)