Subtracing a variable
#1

PlayerInfo[playerid][pSmoke] -=;

How do I subtract the current number of the variable I have by 1?
Reply
#2

PlayerInfo[playerid][pSmoke] -= 1;
Reply
#3

Or simply PlayerInfo[playerid][pSmoke]--;
Reply
#4

Quote:
Originally Posted by Zezombia
Посмотреть сообщение
Or simply PlayerInfo[playerid][pSmoke]--;
thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)