Heal kit or other...
#1

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.
Reply
#2

pawn Код:
CMD:healkit(playerid, params[])
{
     if(pInfo[playerid][Healkit]>0)
     {
         SetPlayerHealth(playerid,100);
         pInfo[playerid][Healkit]--;
     }
     return 1;
}
Reply
#3

and how can i make a command if i write /kit will appear a box in what says the amount of kits and somethings...
Reply
#4

Stop asking people to script for you. Learn to script for yourself.
Check out the SA-MP Wiki and the tutorials section.
Reply
#5

ok sorry, pffff...
because I asked 1-2 thing?
Reply
#6

Quote:
Originally Posted by Er@x3r
Посмотреть сообщение
ok sorry, pffff...
because I asked 1-2 thing?
That's two things too much according to this forum's rules. Head over to the request section. If you don't want to wait check out this wiki link for Scripting basics.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)