/getdrugs..
#1

Hey i have a command on /getdrugs and a command /ldrugs (leave drugs) and now when player leave drugs on a loaction how can i add so player gets +10g drugs right now i have typed in this :
Код:
PlayerInfo[playerid][pInTDrugs] ++;
but i want to change that on some way so he gets +10g or somthing like that now he only gets 1+
Reply
#2

pawn Код:
PlayerInfo[playerid][pInTDrugs] = PlayerInfo[playerid][pInTDrugs] + 10;
Try using this
Reply
#3

pawn Код:
PlayerInfo[playerid][pInTDrugs] += 10;
Reply
#4

Quote:
Originally Posted by [HK]Ryder[AN]
Посмотреть сообщение
pawn Код:
PlayerInfo[playerid][pInTDrugs] = PlayerInfo[playerid][pInTDrugs] + 10;
Try using this
It works thanks man!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)