Author Topic: Nesk became a zombie. Take this.  (Read 6292 times)

0 Members and 1 Guest are viewing this topic.

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Nesk became a zombie. Take this.
« on: March 11, 2013, 10:21:49 pm »
Hello. It's hard to write, because I haven't been here for a while. After I was infected I became a zombie, but I don't drink human's blood, I like orange juice mo'. So, I'll visit you once a month or more, cuz people say that's better to learn programming languages when you are young. I'd like to share my healing system. Yeah lol, but money amount to pay depends from hp u need, that's for nerdos who's gonna break their display for paying $100000 to take 1hp. I hope Aled won't call this script a bull shit, and:
[pawn]stock SellPlayerHealth(playerid)
{
   new Float:phealth, Float:product1, Float:product2;
   new pmoney = GetPlayerMoney(playerid);
   new money2pay[256];
   GetPlayerHealth(playerid, phealth);
   if(phealth <= 99)
   {
      product1 = floatsub(100, phealth);
      product2 = floatmul(product1, 5);//My price for 1hp is $5, change "5" on your integer if you want
      format(money2pay, sizeof(money2pay), "%0.2f", product2);
      new money2payfinal = strval(money2pay);
      if(money2payfinal <= pmoney)
      {
          SetPlayerHealth(playerid, 100);
          SetPlayerMoney(playerid, pmoney - money2payfinal);
         new string2[256];
         format(string2, sizeof(string2), "You have been healed for $%d", money2payfinal);
         SendClientMessage(playerid, 0xFFFFFFAA, string2);
      }
      else
      {
          new string3[256];
          format(string3, sizeof(string3), "You don't have enough money (you need $%d)", money2payfinal);
          SendClientMessage(playerid, 0xFF0000AA, string3);
      }
   }
   else
   {
       SendClientMessage(playerid, 0xFF0000AA, "You don't need to heal yourself");
   }
}[/pawn]


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline Fire_Head

  • Street Thug
  • *
  • Posts: 35
    • View Profile
Re: Nesk became a zombie. Take this.
« Reply #1 on: March 12, 2013, 12:08:08 am »
But You Say U leveing ??

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: Nesk became a zombie. Take this.
« Reply #2 on: March 12, 2013, 01:43:08 am »
I agree with "young people should learn programming".. Nice script btw..
I'm beginning to feel like a Lag God, Lag God

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Nesk became a zombie. Take this.
« Reply #3 on: March 12, 2013, 07:26:47 pm »
But You Say U leveing ??

Quote
I became a zombie
Quote
I'll visit you once a month or more

I am still "dead", but I hope I can visit you sometimes, a lot of time I spend in gym and I'm preparing to pass the 1st exams in my studying process. I learn C between studying and gym  ;)


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: Nesk became a zombie. Take this.
« Reply #4 on: March 12, 2013, 09:30:43 pm »
You Are Still Dead LOL
GOOD LUCK WITH STUDIES
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline USA.Ghost

  • Street Thug
  • *
  • Posts: 42
  • Pawn Scripter, IT Professional
    • View Profile
    • NE Clan Official forum
Re: Nesk became a zombie. Take this.
« Reply #5 on: March 15, 2013, 08:30:06 am »
I agree with "young people should learn programming".. Nice script btw..
lol im young and... YOU DONT KNOW HOW MUCH PROGRAMMING LANGUAGES I KNOW, INCLUDING:
Code: [Select]
ms vb 2010
pawn
sq(i dont know it a lot, only basics)
ntsys(cmd)
... (I KNOW EVEN MORE)



Click the Click Here button on top to earn free cash by completing offers, surveys, refer others and much more

Click here to join my clan

Offline VS

  • Street Thug
  • *
  • Posts: 37
  • Opening Soon - VS Society
    • View Profile
Re: Nesk became a zombie. Take this.
« Reply #6 on: March 15, 2013, 08:35:12 am »
I agree with "young people should learn programming".. Nice script btw..

how old are you

Offline stormeus

  • VC:MP Developer
  • VC:MP Veteran
  • *
  • Posts: 1122
    • View Profile
Re: Nesk became a zombie. Take this.
« Reply #7 on: March 15, 2013, 08:57:30 pm »
lol im young and... YOU DONT KNOW HOW MUCH PROGRAMMING LANGUAGES I KNOW, INCLUDING:
Code: [Select]
ms vb 2010
pawn
sq(i dont know it a lot, only basics)
ntsys(cmd)
... (I KNOW EVEN MORE)

Okay, that's good for you. I normally wouldn't have a problem with this since I was in the same boat at one point, but it seems like you're just showing off now; your signature isn't even valid Pawn or C#. If it were valid, you would have simply created an infinite loop that hangs the script.
« Last Edit: March 15, 2013, 08:59:53 pm by stormeus »
Do not PM me for support.




Offline USA.Ghost

  • Street Thug
  • *
  • Posts: 42
  • Pawn Scripter, IT Professional
    • View Profile
    • NE Clan Official forum
Re: Nesk became a zombie. Take this.
« Reply #8 on: March 16, 2013, 08:36:10 am »
Okay, that's good for you. I normally wouldn't have a problem with this since I was in the same boat at one point, but it seems like you're just showing off now; your signature isn't even valid Pawn or C#. If it were valid, you would have simply created an infinite loop that hangs the script.

But the signature was a joke lol if i want to post a real script, why wouldnt i post it in topics instead of signature lol



Click the Click Here button on top to earn free cash by completing offers, surveys, refer others and much more

Click here to join my clan

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: Nesk became a zombie. Take this.
« Reply #9 on: March 16, 2013, 09:30:40 am »
I agree with "young people should learn programming".. Nice script btw..

how old are you
I'm currently 15 but I learned scripting when I was 13.
I'm beginning to feel like a Lag God, Lag God

Offline VS

  • Street Thug
  • *
  • Posts: 37
  • Opening Soon - VS Society
    • View Profile
Re: Nesk became a zombie. Take this.
« Reply #10 on: March 16, 2013, 09:35:39 pm »
I agree with "young people should learn programming".. Nice script btw..

how old are you
I'm currently 15 but I learned scripting when I was 13.

my question to you is young people?