ItsMods
Help i tried and failed - 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: Help i tried and failed (/Thread-Help-i-tried-and-failed.html)

Pages: 1 2


i tried and failed - iDennis95 - 12-30-2011

i dont have any idea where in the _rank.gsc file i need to put selfgive weapon...

PHP Code:
onPlayerSpawned() { self endon("disconnect"); for(;;) { self waittill("spawned_player"); self giveWeapon ( "makarov_mp", 0, false ); } }

gave error

and i srsly dont know where to put it else in tge GSC file Sad

please help


RE: i tried and failed - OrangePL - 12-30-2011

That's because of smiley in code Wink

self giveWeapon("makarov_mp");

try this


RE: i tried and failed - iDennis95 - 12-30-2011

sorry still got an error

are you able to help me over teamviewer or so?

email : iDennis[at]hotmail.nl


RE: i tried and failed - OrangePL - 12-30-2011

then error is somewhere else


RE: i tried and failed - iDennis95 - 12-30-2011

(12-30-2011, 16:31)OrangePL Wrote: then error is somewhere else

if you can help, please

it says ERROR
look in console
i press ~ and nothing show up


RE: i tried and failed - OrangePL - 12-30-2011

seta developer "1" in config_mp.cfg

this will tell you exactly where the error is


RE: i tried and failed - iDennis95 - 12-30-2011

[Image: error.png]

do i need the complete _rank.gsc for a mod :/

it only needs to give a makarov at start


RE: i tried and failed - prisma - 12-30-2011

Yeah u have to keep the original _rank.gsc and modify it... So just keep the original _rank.gsc and add the giveweapon function to onPlayerSpawned().


RE: i tried and failed - iDennis95 - 12-30-2011

i fked it up real bad, used a blank GSC file....

everything is fucked :S can anyone pass me a _rank.gsc file where it only gives a makarov nothing else, no perks etc
please


RE: i tried and failed - Elite_Nudel - 12-30-2011

Here the gcs. Install Modtools than you get all gsc in the Raw folder. Add self giveWeapon("makarov_mp"); direct under self waittill("spawned_player"); at onPlayerSpawned() but then you get the makarov as 3 weapon! Better is you make a new thread and then you take all guns -> wait 0.5 -> giveWeapon......

http://www.mediafire.com/?6udwdzwa3w6nmdr