hello, i return to present to you enougher script that failed in the making. I am making a script that when you do a cmd, then you put your text, say mahcmd “lololol” , it would print to the screenz of all “ADMIN: lololol” . so far, that fails cause when i do mahcmd “lololol” it prints to the middle of my screen "ADMIN: nil "
here is the script so far:
function advertising( pl, args )
if pl:IsPlayer() && pl:IsAdmin() then
PrintMessage( HUD_PRINTCENTER, "ADMIN: " ..tostring(args[1]) )
end
end
concommand.Add( "advertisment", advertising)
any ideas?