.. has been available to capture
#1

How can i put it that there is standing like ' Cracklab has been availble to capture etc'' There is just standing this
Has been available to capture
Reply
#2

You can use format() to format strings.
pawn Код:
new pName[MAX_PLAYER_NAME]; // Creating a variable, which will keep player name
new string[128]; // A variable to format the string.
GetPlayerName(playerid, pName, sizeof(pName)); // Saving player name into the variable
format(string, sizeof(string), "%s has been availble to capture.", pName); // Formatting done!
SendClientMessage(playerid, -1, string); // Sending the string to player
This will help you https://sampwiki.blast.hk/wiki/Format
Reply
#3

how can i put that in? so its working? Hole code?
Reply
#4

Just copy the script and pase it. It'll work.

But remember the playerid returns the name of user. It may be that you return targetname.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)