Giveperk me
-
С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);
} -
You're pretty vague but I deduce that you're playing with bots and you want perks for yourself only?
Also I deduce that you're talking about my chat commands? Giving perks could easily be implemented with a bit of coding knowledge or when I take the time to do it.Also pasting half of the code instead of linking it is pretty bad, it makes it hard/impossible to help.
I deduced again that you're talking about my script here
https://raw.githubusercontent.com/Resxt/Plutonium-IW5-Scripts/main/small_scripts/give_perks_on_spawn.gscReplace the OnPlayerConnect function with this
OnPlayerConnect() { for(;;) { level waittill("connected", player); if (player.name == "Resxt") { player thread OnPlayerSpawned(); } } } -
yes thank you very much it worked. But do you know if it is possible to implement getting a perk through the give command directly in the game?
-
yes thank you very much it worked. But do you know if it is possible to implement getting a perk through the give command directly in the game?
Black-maks I answered that
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login