Help making - Quick Strings
#6

Try this
pawn Код:
if(text[0] == '$loc')
  {
     new string[128];
        new pName[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pName, sizeof(pName));
    new zone[MAX_ZONE_NAME];
    GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
format(string, sizeof(string), "{FFFFFF}%s: {FFFFFF}%s",pName,zone);
SendClientMessageToAll(COLOR_WHITE, string);
}
Sorry for loose indentation warning I'm on my phone
Reply


Messages In This Thread
Help making - Quick Strings - by Airman123 - 12.01.2015, 12:05
Re: Help making - Quick Strings - by 1fret - 12.01.2015, 12:09
Re: Help making - Quick Strings - by Airman123 - 12.01.2015, 12:14
Re: Help making - Quick Strings - by rickisme - 12.01.2015, 12:17
Re: Help making - Quick Strings - by Airman123 - 12.01.2015, 12:19
Re: Help making - Quick Strings - by 1fret - 12.01.2015, 12:21
Re: Help making - Quick Strings - by Airman123 - 12.01.2015, 12:22
Re: Help making - Quick Strings - by zT KiNgKoNg - 12.01.2015, 12:24
Re: Help making - Quick Strings - by Airman123 - 12.01.2015, 12:30
Re: Help making - Quick Strings - by rickisme - 12.01.2015, 12:43

Forum Jump:


Users browsing this thread: 3 Guest(s)