I would like to give someone an admin flag when he press es button in a map. if type this code in a plugin but when sb. pressed it he get the message but don't get the rights i think it's because the %d but i don't know how to use this variables... can someone help me? Thanks
Code:
get_user_name(pTouched,gName,32)
server_cmd("amx_makeadmin %d q",gName)
client_print(pTouched,print_chat,"test"