07.08.2013, 09:15
Check the link below, I suggest you use it.
Link: https://sampforum.blast.hk/showthread.php?tid=120356
Here's an example:
Is that what you're trying to do?
Link: https://sampforum.blast.hk/showthread.php?tid=120356
Here's an example:
pawn Код:
command(words, playerid, params[])
{
if(IsPlayerConnected(playerid))
{
new string[128], word[2][32];
if(sscanf(params, "s[32]s[32]", word[0], word[1])) return SendClientMessage(playerid, -1, "Usage: /words <word1> <word2>");
if(!strlen(word[0]) || !strlen(word[1])) return SendClientMessage(playerid, -1, "No words typed!");
format(string, sizeof(string), "Your words are: %s and %s.", word[0], word[1]);
SendClientMessage(playerid, -1, string);
}
return 1;
}