Blabla is looking at your stats
#1

Hello, how can i make that when a player use /stats id that it show the player which stats get looked "Blabla is looking at your stats"?
Reply
#2

pawn Код:
format(string, sizeof(string), "* %s[%d] is checking your stats!", pName, playerid);
        SendClientMessage(id, 0x33CCFFAA, string);
If you have "targetid" then change the "id" to "targetid"
Also, change the "pName" to the thing you have;
pawn Код:
new pName[MAX_PLAYER_NAME]
    GetPlayerName(playerid,pName,sizeof(pName));
You might have "PlayerName(playerid)" or something like that..
Reply
#3

What is your saving player data you use (y_ini , dini etc..) ? and show us your enum about player info please too.
Reply
#4

You declare a variable (let's say id) that stores the player's ID you inputted in the command's parameters. So fomat a string and pass the name of the player (playerid) who typed the command as an argument and send it to the id.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)