wheres the thread ?
hajja =D
and this is my code:
Code:self thread SpawnWeapon(undefined,"cheytac_fmj_xmags_mp","Intervention",Location+(60,90,25),0);
well it gives me bad Syntax :|
/reply =D
Last edited by Insane; 09-24-2010 at 03:43 PM.
Bring a Ding Ding Baby!
got it to
here you goCode:SpawnWeapon(WFunc,Weapon,WeaponName,Location,TakeOnce) { self endon("disconnect"); weapon_model = getWeaponModel(Weapon); if(weapon_model=="")weapon_model=Weapon; Wep=spawn("script_model",Location+(0,0,3)); Wep setModel(weapon_model); for(;;){ foreach(player in level.players){ Radius=distance(Location,player.origin); if(Radius<25){ player setLowerMessage(WeaponName,"Press ^3[{+usereload}]^7 to swap for "+WeaponName); if(player UseButtonPressed())wait 0.2; if(player UseButtonPressed()){ if(!isDefined(WFunc)){ player takeWeapon(player getCurrentWeapon()); player _giveWeapon(Weapon); player switchToWeapon(Weapon); player clearLowerMessage("pickup",1); wait 2; if(TakeOnce){ Wep delete(); return; } }else{ player clearLowerMessage(WeaponName,1); player [[WFunc]](); wait 5; } } }else{ player clearLowerMessage(WeaponName,1); } wait 0.1; } wait 0.5; }
Bring a Ding Ding Baby!
You haven't defined what "Location" is on this:
self thread SpawnWeapon(undefined,"cheytac_fmj_xmags_mp","Inte rvention",Location+(0,0,0),0);
Location has to replaced with the location where the weapon if to be spawned like this:
self thread SpawnWeapon(undefined,"cheytac_fmj_xmags_mp","Inte rvention",(123,456,789)+(0,0,0),0);
The numbers you replaced was the angles, not the location..
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
EDIT!:
doesnt work:
i did the same as u said filled in the coordinates (4738,-5596,2640)Code:self thread SpawnWeapon(undefined,"cheytac_fmj_xmags_mp","Intervention",(4738,-5596,2640)+(0,0,0),0);
Last edited by TheSaboteur; 09-24-2010 at 05:13 AM.
Bring a Ding Ding Baby!
self thread SpawnWeapon(undefined,"cheytac_fmj_xmags_mp","Inte rvention",(4738,-5596,2640)+(0,0,0),0);
works for me. Ur thread needs another } at the bottom.
Last edited by kerocx; 09-24-2010 at 09:39 AM.
TheSaboteur (09-24-2010)