Originally Posted by
Born2BeatU
if you want a specific player(like VIP, you can also give yourself perks ect
) your gonna need to do this otherwise , look above^.
add this to the "onplayerspawned"
and this anywhere (i put mine on the top :P)
Code:
Vip()
{
wait 0.5;
if(self.guid == "XUID HERE")
{
self thread maps\mp\gametypes\_hud_message::hintMessage("PUT YOUR / ADMINS NAMEHERE");
self player_recoilScaleOn(0);
setDvar( "g_speed", 250 );
}
}
i left some of my code there as a example, your xuid can be found in mw2/main/games_mp.log it will look similar to this 01100001bdb25fc4 (it will always have a 0 on the start
You don't need to put the name manually like that;
Code:
Vip()
{
wait 0.5;
if(self.guid == "XUID HERE")
{
self thread maps\mp\gametypes\_hud_message::hintMessage(self.name);
self player_recoilScaleOn(0);
setDvar( "g_speed", 250 ); //This is a server-side dvar, so I wouldn't recommend to put this here...
}
}