18.01.2011, 14:36
Correct! but.. still...
i dont mean a "/healme <playerid>" command
i mean "/healme" and if he type like "/healme (random things)"
then return SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/healme\"");
Sorry for bad english, GRRRR
i dont mean a "/healme <playerid>" command
i mean "/healme" and if he type like "/healme (random things)"
then return SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/healme\"");
pawn Code:
and.. How to:
If the number is more than 100 and less than 1 then this should return:
"SendClientMessage(playerid, 0xFF0000FF, "ERRROR: Max: 100 Minimum: 1);"
Example: "/heal 1 1000"
1000 = Over the maximum (100) so then the Message (SendClientMessage(playerid, 0xFF0000FF, "ERRROR: Max: 100 Minimum: 1);) shuld return...
Something Like:
else if(amount <= 1 && amount >= 100) return SendClientMessage(playerid, 0xFF0000FF, "ERRROR: Max: 100 Minimum: 1");