gsc scripts not working
-
C_Killer_5000 yes and yes. The only thing you need to know when it comes to these chat commands and IW4MAdmin is explained on the repo, don't use the same command prefix like
!
.The screenshot you're looking at is an EXAMPLE script that's coded to show green text in the middle of the screen. Thankfully not all scripts do that or you would be spammed with this. It only shows in the console once a game is loaded. You can send a screenshot of your console if you're unsure (after loading a map in a private game for example)
-
this is my console at a private match.
-
C_Killer_5000 you can see it compiles all the chat commands scripts. Have you tried typing
!giveweapon me iw5_acr_mp
for example? -
Resxt I just typed it but nothing happened
thank you for your time and help, I really appreciate it
it says in the game: uknown cmd !god
I tried: !god me but still nothing happens, it says unknown cmd !god
why is it so hard
-
C_Killer_5000 If you use !IWM4Admin", it should be capturing the command before the script. That's why in the guide it says
You must use another "prefix" -
Kalitos I'm not using IW4MAdmin, now I don't know how to change the value of cc_prefix dvar, I don't even know where it is, I'm sorry, I'm just starting in this world.
-
C_Killer_5000 Another question, where you are typing the command "!giveweapon me iw5_acr_mp", you need to do it within the in-game chat.
-
-
C_Killer_5000 not to be annoying but the script is called CHAT commands
-
Resxt I can see now, I'm new over here, sorry for all the trouble, thank you, it won't happen again.
-
C_Killer_5000 no worries. Glad you got it to work. Enjoy
-
Π‘an someone tell me if there is a gsc script for issuing perks to oneself?
I know that you can use this code, but it gives out perks to everyone, and I would like only me to have perks. It would be very convenient to get them in the same way as weapons or killstreaks via !giveperk me as in the gsc script examples.OnPlayerSpawned()
{
self endon("disconnect");
for(;;)
{
self waittill("changed_kit");GivePerks(); }
}
GivePerks()
{
self setperk( "specialty_quickdraw", true, false); -
It gives perks to everyone because there's no condition checking for a username or whatever. This is completely normal and expected
-
how to build condition checking for a username?
-
undefined FutureRave locked this topic on
-
Black-maks Open a new topic