Jump to content
  • 0

pomoc BODY


PanRožokRohliik

Dotaz

Dobrý den, potřeboval bych pomoct. Rád bych si udělal systém bodů, nejspíše přes "SetPlayerScore"(Mělo by to být něco jak rank systém)

 

Měl bych dotaz, na admin příkaz pro duělení bodů..

 

A připadně, dalo by se to udělat tak, aby se mu to nepřičítalo přímo do score ? Ale jako samostatné nějaké "body" ? 

Edited by PanRožokRohliik
Link to comment
Share on other sites

2 odpovědí na tuto otázku

Recommended Posts

  • 0

~> Něco ve stylu(?):

 

 

#define GivePlayerScore(%0,%1) SetPlayerScore(%0,GetPlayerScore(%0)+%1)
nebo fci

 

 

stock GivePlayerScore(playerid, score) SetPlayerScore(playerid, GetPlayerScore(playerid)+score);

/* použití: */
GivePlayerScore(playerid, 1000);
nebo rovnou v kódě:

 

SetPlayerScore(playerid, GetPlayerScore(playerid) + 1000);
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...