18.03.2016, 21:35
Hello, I want to ask you, I have a dialogue, and it got the information about the players (location, etc ..) and I need to do to make the brand '' replaced the word "Unknown"
That's the tag ( ' ' ) replace (Unknown) knows someone how to do it?
There is original script from Scavenge & Survive (SouthclawJK)
https://raw.githubusercontent.com/So...er/country.pwn
I was inspired by this one
That's the tag ( ' ' ) replace (Unknown) knows someone how to do it?
There is original script from Scavenge & Survive (SouthclawJK)
https://raw.githubusercontent.com/So...er/country.pwn
I was inspired by this one
Код:
stock GetPlayerCountryDataAsString(playerid, output[], len = sizeof(output)) { if(!IsPlayerConnected(playerid)) return 0; format(output, len, "\ Hostname: '%s'\n\ Code: '%s'\n\ Country: '%s'\n\ Region: '%s'\n\ ISP: '%s'\n\ Proxy: %s", PlayerCountryData[playerid][cntr_Hostname], PlayerCountryData[playerid][cntr_Code], PlayerCountryData[playerid][cntr_Country], PlayerCountryData[playerid][cntr_Region], PlayerCountryData[playerid][cntr_ISP], PlayerCountryData[playerid][cntr_Proxy] ? ("Yes") : ("No")); return 1; }