SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 17/06/2020, 01:48 PM   #1
oRaphael
Huge Clucker
 
oRaphael's Avatar
 
Join Date: Jul 2019
Location: Goiânia, Goias.
Posts: 377
Reputation: 3
Default Adicionar

Por que não ta adicionando nem removendo a varial do jogador?

PHP Code:
    PlayerInfo[playerid][pDrogas]--;
    
PlayerInfo[id][pDrogas]++; 
__________________
Shooter - Bob Lee Swagger
https://forum.sa-mp.com/showthread.php?p=4157259#post4157259
oRaphael is offline   Reply With Quote
Old 17/06/2020, 01:52 PM   #2
darkxdll
High-roller
 
darkxdll's Avatar
 
Join Date: Jul 2012
Location: C:\Windows\DLLs
Posts: 1,633
Reputation: 89
Default Re: Adicionar

Quote:
Originally Posted by oRaphael View Post
Por que não ta adicionando nem removendo a varial do jogador?

PHP Code:
    PlayerInfo[playerid][pDrogas]--;
    
PlayerInfo[id][pDrogas]++; 
Tente só:

PHP Code:
    PlayerInfo[playerid][pDrogas] -= 1;
    
PlayerInfo[id][pDrogas] += 1
__________________
Discord: darkxdll#9097

Consulte valores.
darkxdll is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] Adicionar linha... Ley Português/Portuguese 4 06/03/2018 12:38 AM
[Ajuda] adicionar um 1 mes + LocoGamer Português/Portuguese 4 05/03/2015 02:38 PM
[Ajuda] Adicionar Blindagem Vinicin Português/Portuguese 2 12/12/2013 10:11 AM
[Ajuda] Adicionar Carros Yunah_Play Português/Portuguese 3 08/09/2012 12:11 PM
[Ajuda] Adicionar variaveis Douglas_prt Português/Portuguese 2 25/08/2012 12:04 PM


All times are GMT. The time now is 01:08 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.