15.09.2011, 21:27
pawn Код:
#include <a_samp>
#define LARANJA 0xFF9933AA
#define AGUA 0x7CFC00AA
#define VERDE 0x33AA33AA
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmd,"/vida", true) == 0)
{
GetPlayerHealth(playerid, 100);
SendClientMessage(playerid, LARANJA,"Vocк recebeu 100 de vida com sucesso");
return 1;
}
return 0;
}