Nightvision problem!!!
#1

I have made a pickup where the player gets night vision and thermal goggles but when i get in to the pickup it just give me the thermal goggles not the night-vision ******s........anyone can help?
Reply
#2

Quote:
Originally Posted by ronaldoraul
Посмотреть сообщение
I have made a pickup where the player gets night vision and thermal goggles but when i get in to the pickup it just give me the thermal goggles not the night-vision ******s........any can help?
They use the same slot so it's one or the other i'm affraid. Unless you make an inventory system or something to that effect.
Reply
#3

The guy in front of me is right. I should get some sleep. ^^
Reply
#4

Quote:
Originally Posted by Infamous
Посмотреть сообщение
They use the same slot so it's one or the other i'm affraid. Unless you make an inventory system or something to that effect.
hmm didn't understood what you mean?
Reply
#5

It is like TEC and UZI, You can't have both.
Reply
#6

Quote:
Originally Posted by Berlovan
Посмотреть сообщение
It is like TEC and UZI, You can't have both.
so what can i do to get Thermal and Night-vision goggles in one pickup
Reply
#7

Quote:
Originally Posted by ronaldoraul
Посмотреть сообщение
hmm didn't understood what you mean?
Well you can store a variable with 3 values:

0 - Neither.
1 - Night Vision.
2 - Thermal Vision.

Now you can alter that variable using a command, not very difficult to do although the player will never have both goggle types at once.
Reply
#8

Quote:
Originally Posted by Infamous
Посмотреть сообщение
Well you can store a variable with 3 values:

0 - Neither.
1 - Night Vision.
2 - Thermal Vision.

Now you can alter that variable using a command, not very difficult to do although the player will never have both goggle types at once.
hmm can you give example.........thanks in advance
Reply
#9

pawn Код:
if (strcmp(cmdtext, "/wtest1", true)==0)
    {
        GivePlayerWeapon(playerid,368,1)
    }
if (strcmp(cmdtext, "/wtest2", true)==0)
    {
        GivePlayerWeapon(playerid,369,1)
    }
Like this ?
Reply
#10

- Removed.
Just do as mentioned above.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)