Jump to content

[REZOLVAT] Intrebare payday


Ionut09
 Share

Recommended Posts

  • Administrator
if(PlayerInfo[i][pRob] < 20)
{
    PlayerInfo[i][pRob]++;
}
else
{
    SendClientMessage(i, COLOR_WHITE, "Nu ai primit niciun rob/free point pentru ca ai deja 20 rob/free points.");
}

 

Probabil ai peste 20 de puncte de rob si de asta nu iti da.

Link to comment
Share on other sites

1 minute ago, Leonard said:

if(PlayerInfo[i][pRob] < 20)
{
    PlayerInfo[i][pRob]++;
}
else
{
    SendClientMessage(i, COLOR_WHITE, "Nu ai primit niciun rob/free point pentru ca ai deja 20 rob/free points.");
}

 

Probabil ai peste 20 de puncte de rob si de asta nu iti da.

Nu am, la nimeni nu ne da puncte. am 0/20

Link to comment
Share on other sites

  • Administrator
Acum 1 oră, Ionut09 a spus:

Si unde adaug asta? De ce cu ++ in fata?

if(PlayerInfo[i][pRob] < 20)
{
    PlayerInfo[i][pRob] ++;
    UpdateVar(i, "Rob", PlayerInfo[i][pRob]);
}
else
{
    SendClientMessage(i, COLOR_WHITE, "Nu ai primit niciun rob/free point pentru ca ai deja 20 rob/free points.");
}

 

Link to comment
Share on other sites

15 hours ago, Ionut09 said:

Nu am, la nimeni nu ne da puncte. am 0/20

Ai verificat daca in baza se salveaza? Daca nu, arata-ne si un mysql_log.

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

Incearca sa pui mai sus acest cod.

				if(PlayerInfo[i][pRob] < 20)
    			{
       				PlayerInfo[i][pRob]++;
           		}
           		else
           		{
           		    SendClientMessage(i, COLOR_WHITE, "Nu ai primit niciun rob/free point pentru ca ai deja 20 rob/free points.");
				}

De exemplu.

				SendClientMessage(i, COLOR_TEAL, "----------------------------------------------------------------------------");
				SendClientMessage(i, COLOR_WHITE, "Your paycheck has arrived; please visit the bank to withdraw your money.");
				if(PlayerInfo[i][pRob] < 20)
    			{
       				PlayerInfo[i][pRob]++;
           		}
           		else
           		{
           		    SendClientMessage(i, COLOR_WHITE, "Nu ai primit niciun rob/free point pentru ca ai deja 20 rob/free points.");
				}

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...