Code:
function OnBlockDig( PacketData, Player )
Namesini = cIniFile("names.ini")
if ( Namesini:ReadFile() == true ) then
Namess = Namesini:GetValue(Nicks,Player:GetName())
if Namess == Player:GetName() then
return false
end
return true
end
end
names.ini
Code:
[Nicks]
Bot
Lol
gogogog
Player
Fifa=1
Polloooo
Looseeerrr!!!!
Noooobbb!!!
I'm sorry that is wrong?
If the name matches the name of the player that you can destroy blocks