Help needed of an advanced scripter
#2

What do you mean by clickedplayerid ?

Edit: Oh ok I got it you meant on OnPlayerClickPlayer

pawn Код:
new string[80], pName[MAX_PLAYER_NAME], Fname[MAX_PLAYER_NAME];
GetPlayerName(clickedplayerid, Fname, sizeof(Fname));
GetPlayerName(playerid, pName, sizeof(pName));
format(string,sizeof string,"Player: %s and Clicked Player: %s",pName, Fname); // you could change the text inside if you want.
        SendClientMessageToAll(-1,string);
I would write even more better but I am not on pc ATM.

-FalconX
Reply


Messages In This Thread
Help needed of an advanced scripter - by speediekiller2 - 01.05.2012, 20:41
Re: Help needed of an advanced scripter - by FalconX - 01.05.2012, 20:52

Forum Jump:


Users browsing this thread: 1 Guest(s)