Author Topic: Hello guys! Caesar salad for all!  (Read 4087 times)

0 Members and 1 Guest are viewing this topic.

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Hello guys! Caesar salad for all!
« on: November 09, 2012, 04:49:26 pm »
After minding progress up I made "Restaurant on the run"

All u need:

change public OnPlayerText to the next:

public OnPlayerText(playerid, text[])
[pawn]{
   if (strcmp(text, "Caesar salad please", true)==0 && GetPlayerMoney(playerid) >=100)
   {
        SendClientMessage(playerid, 0xFF0000AA, "Waiter: Here your salad, sir. Bon appetite!");
        SetPlayerHealth(playerid, 100);
        SetPlayerMoney(playerid, GetPlayerMoney(playerid)-100);
        SendClientMessage(playerid, 0xFF0000AA, "You got paid $100 for salad!");
      return 1;
   }
   else if(strcmp(text, "Caesar salad pls!", true)==0 && GetPlayerMoney(playerid) <=99)
   {
        SendClientMessage(playerid, 0xFF0000AA, "Sorry, but we do not feed the homeless. Go work sir! This salad costs $ 100.");
        return 1;
   }
   return 1;
}[/pawn]
Now, saying "Caesar salad please" you will restore your health

Bon appetite!

P.S. This is an example of text which can apply functions.
« Last Edit: November 09, 2012, 08:23:22 pm by NeskWriter »


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: Hello guys! Caesar salad for all!
« Reply #1 on: November 10, 2012, 03:23:07 am »
Mmm  :o i create a food system better so,tomorrow i post and give the topic here.
contain buy in all pizza place and eat everywhere
 8)
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline heekz.shadow

  • LU testers
  • Made Man
  • *
  • Posts: 249
    • View Profile
Re: Hello guys! Caesar salad for all!
« Reply #2 on: November 10, 2012, 09:16:56 am »
I made a full RPG system with everything, containing EMP and police spikestrips being thrown out of the car, we do not care about you aledark24. This is his topic, we shall support him.


This is a nice script :)
Code: [Select]
[20:23] <habi> later only i heard that lu chatbox is customizable. On my first visit, it appeared ugly.
[20:23] <habi> May be that also be the reason why lu has no players

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Hello guys! Caesar salad for all!
« Reply #3 on: November 10, 2012, 10:04:15 am »
I am starting thinking that everything is already made by someone :D


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Hello guys! Caesar salad for all!
« Reply #4 on: November 10, 2012, 11:09:43 am »
I am starting thinking that everything is already made by someone :D

And if is, what ?
If you made it in your style, with new ideas and more, will be a new script ;)

Good Luck !

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Hello guys! Caesar salad for all!
« Reply #5 on: November 10, 2012, 11:44:30 am »
ty man  :D


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: Hello guys! Caesar salad for all!
« Reply #6 on: November 10, 2012, 12:55:04 pm »
I made a full RPG system with everything, containing EMP and police spikestrips being thrown out of the car, we do not care about you aledark24. This is his topic, we shall support him.


This is a nice script  :o


I create new commands and you say nice copy  :o
other create one command and you say nice job
you are very stupid or what? Shadow

http://forum.vicecitymultiplayer.com/index.php?topic=5268.0
« Last Edit: November 10, 2012, 05:20:53 pm by aledark24 »
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Hello guys! Caesar salad for all!
« Reply #7 on: November 10, 2012, 06:21:19 pm »
Guyz pls don't start a war in this topic  :-\


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline heekz.shadow

  • LU testers
  • Made Man
  • *
  • Posts: 249
    • View Profile
Re: Hello guys! Caesar salad for all!
« Reply #8 on: November 10, 2012, 07:06:38 pm »
His ideas are unique, yours are not ( aledark24 ). It's not about buying food, but actually having more choices than pizza,coffee... etc..

No. I am not stupid.
Code: [Select]
[20:23] <habi> later only i heard that lu chatbox is customizable. On my first visit, it appeared ugly.
[20:23] <habi> May be that also be the reason why lu has no players