Thread
:
Set user FLAG ROOT
View Single Post
Author
Message
alex2001
Member
Join Date: May 2019
05-30-2019 , 05:50 Set user FLAG ROOT
#
1
hi i want to add ROOT flag if player steamid == "....."
i try with this
public Event_RoundStart(Handle:event, String:name[], bool:dontBroadcast) {
decl String:authid[64];
for (new i = 1; i <= MaxClients;i++){
GetClientAuthId(i,AuthId_Steam2, authid, 63);
if (StrEqual("STEAM_1:0:244123014",authid)){
PrintToChat(i, "GG");
SetUserFlagBits(i,FlagToBit(Admin_Root));
}
}
}
and another but dosent work
alex2001
View Public Profile
Send a private message to alex2001
Find More Posts by alex2001