ADDING STATIC NPCS ON GAMEMODE INIT -
VanillaRain - 25.06.2015
Hello everybody i need to add few Static NPCS on certain coordinates, can someone help me?
BURGER SHOT NPC: -4082.81 | 1149.94 | 2.08 | SKIN ID: 205
PIZZA DUDE NPC: -4064.93 | 1154.95 | 2.26 | SKIN ID: 155
POP CORN NPC: -4075.00 | 1157.02 | 2.26 | SKIN ID: 170
ADMIN SHOP NPC: 2571.85 | -1685.08 | 1030.02| SKIN ID: 172
ADMIN SHOP NPC 2: 2571.85 | -1679.47 | 1030.02| SKIN ID: 187
CAFETERIA NPC: 450.62 | -82.23 | 999.55 | SKIN ID: 211
RECEPTION NPC: 1360.13 | -868.57 | 1107.16 | SKIN ID: 219
RECEPTION NPC 2: 1356.32 | -868.29 | 1107.16 | SKIN ID: 211
RECEPTION NPC 3: 1355.00 | -866.94 | 1107.16 | SKIN ID: 172
ANOTHER NPC: 1325.90 | -962.64 | 1107.10 | SKIN ID: 171
THEN ADD AN INFORMATION CHECKPOINT AT : -4082.09 | 1149.17 | 2.26 with that text in yellow:
[Burger Shot]
Press "Enter" or "F" to open the menu (alligned both lines in center)
if that buttons are pressed a menu comes out with:
title: BURGER SHOT
Meals:
Cheeseburger 5$ --> regain 10% of life (--> regain 10% of life that part WILL NOT been visible, just to know what do if choosen)
Happy Meal 10$ --> regain 25% of life
Big Mac 20$ --> regain 50% of life
Drink:
Bottle of water 1$ regain 5% of life
Sprunk 3$ regain 10% of life
Coke 5$ regain 15% of life
Exit (exit menu)
A big hug for who can help me out with this
Re: ADDING STATIC NPCS ON GAMEMODE INIT -
!damo!spiderman - 25.06.2015
So what code have you tried so far so we can help you with your errors?
Otherwise maybe post a request here
https://sampforum.blast.hk/showthread.php?tid=447813
Re: ADDING STATIC NPCS ON GAMEMODE INIT -
VanillaRain - 25.06.2015
No, It's just a request, as i'm quite a noob in this
Re: ADDING STATIC NPCS ON GAMEMODE INIT -
dominik523 - 25.06.2015
Add the "NPCs" with this:
https://sampwiki.blast.hk/wiki/CreateActor - Actually called actors
And for the checkpoint this:
https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint
Under OnPlayerEnterCheckpoint, just send a message to the player or show them a textdraw.
Re : Re: ADDING STATIC NPCS ON GAMEMODE INIT -
KillerDVX - 25.06.2015
He wan't to create an NPC, why would you suggest him an actor ?
So VanillaRain,
Check this out, it should helps : https://sampforum.blast.hk/showthread.php?tid=428066
KillerDVX,
Re: ADDING STATIC NPCS ON GAMEMODE INIT -
VanillaRain - 25.06.2015
Quote:
Originally Posted by dominik523
|
I'm asking too much if I let you do it for me? Just to avoid problems during compiling.
Re: ADDING STATIC NPCS ON GAMEMODE INIT -
dominik523 - 25.06.2015
Sorry I don't have enough of free time these days. You will learn how to make it just by trying to write it yourself. That's the best way.