13.11.2009, 15:02
hello guys i try to make /hme command with dcmd but i faild this command should be /healme ...
i try if player who is in medic team write /hme it will heal him for random health, like +10 hp or +20 hp etc etc but i try with
new RandomHP()
{
(10),(20) etc etc
};
it was something like example up here than i made under command
bla
baballbal
SetPlayerHealth(playerid,RandomHP);
but there is error argumen mismatch 2 or something liek that , how i can make that for random hp ?
+ how i can make timer for that command can be used just once per 1 min ? ty for any help
i try if player who is in medic team write /hme it will heal him for random health, like +10 hp or +20 hp etc etc but i try with
new RandomHP()
{
(10),(20) etc etc
};
it was something like example up here than i made under command
bla
baballbal
SetPlayerHealth(playerid,RandomHP);
but there is error argumen mismatch 2 or something liek that , how i can make that for random hp ?
+ how i can make timer for that command can be used just once per 1 min ? ty for any help