GetPlayerName problem
#2

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 70, 85.0713,1748.0396,-59.2546))
{
    new name[MAX_PLAYER_NAME+1], msg[128];
    GetPlayerName(playerid, name, sizeof(name));
    format(msg, sizeof(msg), "%s has died in the /bf", name);
    SendClientMessageToAll(COLOR_PURPLE,msg);
}
You need to format the message first and then send it.
Reply


Messages In This Thread
GetPlayerName problem - by ExtendedCarbon - 09.09.2013, 18:15
Re: GetPlayerName problem - by Konstantinos - 09.09.2013, 18:18
Re: GetPlayerName problem - by ExtendedCarbon - 09.09.2013, 18:25
Re: GetPlayerName problem - by Konstantinos - 09.09.2013, 18:30
Re: GetPlayerName problem - by ExtendedCarbon - 09.09.2013, 18:32

Forum Jump:


Users browsing this thread: 2 Guest(s)