02-25-2011, 21:05
02-26-2011, 00:29
LOl nice tut, kinda like mine but meh GJ,
02-26-2011, 00:56
its not kinda like you i have all in notepad btw going to sleep im tired -.- uh
02-27-2011, 08:25
hay great tut helped me heaps however i cannot get the self giveWeapon command to work whenever i load the mod i choose one of my classes and spawn and i just get whatever the class was not what i set in my mod
here's my code
anyone know whats going on??
never mind it goes in as secondary ill try adding in a sidearm
here's my code
Code:
onPlayerSpawned()
{
self endon("disconnect");
for(;;)
{
self waittill("spawned_player");
self giveWeapon ( "ak74u_dualclip_mp", 0, false );
if(!isdefined(self.hud_rankscroreupdate))
{
anyone know whats going on??
never mind it goes in as secondary ill try adding in a sidearm
02-27-2011, 09:13
Code:
onPlayerSpawned()
{
self endon("disconnect");
for(;;)
{
self waittill("spawned_player");
self giveWeapon ( "ak74u_dualclip_mp", 0, false );
if(!isdefined(self.hud_rankscroreupdate))
{
02-27-2011, 15:04
Thnx a lot, gonna begin with this tut
02-27-2011, 18:48
WTF IPADDIE COMMENT ON THIS 0.0 I FELLED DOWN OF CHAIR WHEN I LOOK THAT COMMENT....
02-28-2011, 13:36
Quote:Code:What does these two things mean?
onPlayerSpawned()
{
self endon("disconnect");
for(;
{
self waittill("spawned_player");
self giveWeapon ( "ak74u_dualclip_mp", 0, false );
if(!isdefined(self.hud_rankscroreupdate))
{
self giveWeapon ( "ak74u_dualclip_mp", 0, false );
02-28-2011, 15:24
(02-28-2011, 13:36)timmytimp1 Wrote: [ -> ]Quote:Code:What does these two things mean?
onPlayerSpawned()
{
self endon("disconnect");
for(;
{
self waittill("spawned_player");
self giveWeapon ( "ak74u_dualclip_mp", 0, false );
if(!isdefined(self.hud_rankscroreupdate))
{
self giveWeapon ( "ak74u_dualclip_mp", 0, false );
Correct me if im wrong but its do do with attachments and camos. How ever as his is on 0 and false it is not needed. so it can be:
self giveWeapon ( "ak74u_dualclip_mp" );
03-04-2011, 15:10
(02-27-2011, 08:25)rotceh_dnih Wrote: [ -> ]hay great tut helped me heaps however i cannot get the self giveWeapon command to work whenever i load the mod i choose one of my classes and spawn and i just get whatever the class was not what i set in my mod
here's my code
Code:onPlayerSpawned()
{
self endon("disconnect");
for(;;)
{
self waittill("spawned_player");
self giveWeapon ("ak74u_dualclip_mp", 0, false);
{
anyone know whats going on??
never mind it goes in as secondary ill try adding in a sidearm
U have got 3 Weapons. Maybe u didnt see your own wep?
btw just add self takeAllWeapons(); above giveWep. Now u have only your aku.