Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ConnectionTest(id,params)
- local result, test = sscanf(params,"d")
- if result == 1 then
- if test == 1 then
- SendPlayerMessage(id,255,255,255,string.format("Your IP : %s", GetPlayerIP(id)));
- elseif test == 2 then
- SendPlayerMessage(id,255,255,255,string.format("Your MAC : %s", GetMacAddress(id)));
- else
- SendPlayerMessage(id,255,255,255,string.format("Your GMP name : %s", GMPName[id]));
- end
- else
- SendPlayerMessage(id,255,255,255,string.format("Your GMP name : %s", GMPName[id]));
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement