ItsMods

Full Version: Need Help To Make My 1st Code!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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
http://www.itsmods.com/forum/Thread-Tuto...nners.html this a good thread to start learning the basics of GSC. You can find other tutorials here: http://www.itsmods.com/forum/Forum-Moddi...rials.html .
thats black ops and this thread is of mw2 ();
Coding is the same.
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
http://www.itsmods.com/forum/Thread-Tuto...-them.html

Carepackage model: com_plasticcase_friendly

iPrtnlBold -> iPrintLnBold
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!");
}
}
discconnect should be disconnect
Code:
self iPrintlnBold("Care Package Spawned!");
wait 3;
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?
Pages: 1 2