Id like the folowing script to only work when the players is demoman
Code:
if (!found[3]) if (cvarsetting & BALLOON_ON) CreateVM(client, BALLOONICORN);
found[3] = true;
So example
Code:
if(class==demoman){
if (!found[3]) if (cvarsetting & BALLOON_ON) CreateVM(client, BALLOONICORN);
found[3] = true;
}
What would be the simplest way to achieve this?