Quote:
Originally Posted by milanosie
pawn Код:
if(iTargetID != INVALID_PLAYER_ID) { new text[128], string[128]; if(!sscanf(params, "s[128]", text)) { format(string, sizeof(string), "He says: %s", text); SendClientMessage(iTargetID, COLOR_YELLOWGREEN, string); format(string, sizeof(string), "You said: %s", text); SendClientMessage(playerid, COLOR_GREEN, string); return 1; } else return SendClientMessage(playerid, COLOR_LIGHTRED, "Usage: /p [Text]");
Why are you using this inside the loop?
It should be outside.
|
Because this part is the one i am using to send the messages/textes, and there is the need of checking things before.. I am really confused. Lol. I am following what they said in be posts before..