ItsMods
Need Help To Make My 1st Code! - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: Need Help To Make My 1st Code! (/Thread-Need-Help-To-Make-My-1st-Code.html)

Pages: 1 2


Need Help To Make My 1st Code! - Bloodfocus - 03-31-2012

I need help to make my 1st code .
I dont know with what to start a code (GSC) and i dont know where to get codes to put into my code , if someone can teach me , just post it please i will really apreciate it <3.

Bye,
VerifyerModderz


RE: Need Help To Make My 1st Code! - surtek - 03-31-2012

http://www.itsmods.com/forum/Thread-Tutorial-Gsc-Modding-for-Beginners.html this a good thread to start learning the basics of GSC. You can find other tutorials here: http://www.itsmods.com/forum/Forum-Modding-Tutorials.html .


RE: Need Help To Make My 1st Code! - Bloodfocus - 03-31-2012

thats black ops and this thread is of mw2 ();


RE: Need Help To Make My 1st Code! - OrangePL - 03-31-2012

Coding is the same.


RE: Need Help To Make My 1st Code! - Bloodfocus - 03-31-2012

i wanna make a code that every 5 seconds it come a care package but i already make this , can someone say me what i need to add for make it?

My code right now:

CarePackagezz()
{
self endon( "discconect" );
self endon( "death" );
while(1)
{
//IDK THE CODE TO PUT FOR THE CARE PACKAGE (PLEASE IF U KNOW SAY ME IN A POST HERE);
self iPrtnlBold("Care Package Spawned");
}
}


PLEASE SAY ME THAT CODE


RE: Need Help To Make My 1st Code! - Yamato - 03-31-2012

http://www.itsmods.com/forum/Thread-Tutorial-Set-angles-on-models-and-Rotate-them.html

Carepackage model: com_plasticcase_friendly

iPrtnlBold -> iPrintLnBold


RE: Need Help To Make My 1st Code! - Bloodfocus - 03-31-2012

i have to put self.givecarepackage=com_plasticcase_friendly;
????????????????????/
I finish my 1st code (Say me if something is wrong):

CarePackagezz()
{
self endon( "discconect" );
self endon( "death" );
while(1)
{
CarePackage = Spawn("script_model",(0,0,0));
CarePackage SetModel("com_plasticcase_friendly");
self iPritlnBold("Care Package Spawned!");
}
}



RE: Need Help To Make My 1st Code! - OrangePL - 03-31-2012

discconnect should be disconnect


RE: Need Help To Make My 1st Code! - Yamato - 03-31-2012

Code:
self iPrintlnBold("Care Package Spawned!"); wait 3;



RE: Need Help To Make My 1st Code! - Bloodfocus - 03-31-2012

Thankz orange , and thankz Yamato <3
Yamato: Yo quiero que cada 3 segundos caiga una care package y diga Care Package Spawned , y esto:
CarePackage = Spawn("script_model",(0,0,0));
CarePackage SetModel("com_plasticcase_friendly");

Solo me spawnea una care package , pero no caen cada 3 segundos con eso , me podes decir el code para que caigan care packages cada 3 segundos porfavor?