GetPlayerName problem
#1

I'm trying to make it display the users name when he dies

I have this under onplayerdeath
Код:
    if(IsPlayerInRangeOfPoint(playerid, 70, 85.0713,1748.0396,-59.2546))
    {
        new name[MAX_PLAYER_NAME+1];
        GetPlayerName(playerid, name, sizeof(name));
        SendClientMessageToAll(COLOR_PURPLE,"%d has died in the /bf");
    }
But it just shows up in game as
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: 4 Guest(s)