Jump to content
  • 0

pomoc Body


mark

Dotaz

Čaute potreboval by som poradiť.. Trápim sa stím už hodinu a nie a nie to spraviť..

Takže potreboval by som spraviť aby keď má niekdo

 

Menej ako 50 bodov aby dostal 5 000 $ a 1 bod

a potom ak má niekdo viac ako 50 bodov a menej ako 100 tak aby dostal 6 000 $ a 2 body

 

 

 

Ďakujem za pomoc,

Link to comment
Share on other sites

6 odpovědí na tuto otázku

Recommended Posts

  • 0

1.

 

if(GetPlayerScore(playerid) < 50){

GivePlayerMoney(playerid,5000);

SetPlayerScore(killerid, GetPlayerScore(playerid) +1);

}

 

2.

 

 

if(GetPlayerScore(playerid) > 50 && GetPlayerScore(playerid) < 100){

GivePlayerMoney(playerid,6000);

SetPlayerScore(killerid, GetPlayerScore(playerid) +2);

}

 

a je to

  • Líbí se mi to! (+1) 1
Link to comment
Share on other sites

  • 0
  • Administrátor

ještě by to chtělo elsnout.. protože když to dáš takhle pod sebe a budu mít víc jak 50 amín jak 100 tak dostanu 110000 a 3 body

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...