18.07.2011, 20:22
pawn Код:
#include < a_samp >
#include < zcmd > // You need ZCMD for this.
#include < sscanf2 > // You also need SSCANF2 include + plugin for this.
#define ZOMBIE 1
#define HUMAN 2
#define STARS 3
#define UC 4
//// you can add more///
CMD:heal( playerid, params[ ] ) {
if( GetPVarInt( playerid, "STARS" ))
return SendClientMessage(playerid, -1, "You need to be STARS to use this.");
SetPlayerHealth( playerid, 100.0 );
return SendClientMessage( playerid, -1, "You healed yourself. " );
}