05.02.2013, 16:37
how to make a script like if i found or i buy a heal kit i can heal my self?or if i have tools i can repair the car.
CMD:healkit(playerid, params[])
{
if(pInfo[playerid][Healkit]>0)
{
SetPlayerHealth(playerid,100);
pInfo[playerid][Healkit]--;
}
return 1;
}