SA-MP Forums Archive
[Pedido] Sistema cash - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido] Sistema cash (/showthread.php?tid=642797)



Sistema cash - GuiKommander - 07.10.2017

Queria um Sistema de Cash Uma base pra mim fazer a minha pra adaptar Ao gm
Com Salvamento
Com textDraw
Comando de /Setarcash /doarcash
Quero sу uma base o resto eu faзo , n tenho nocao de como comeзar :P


Re: Sistema cash - C4rtm4n - 07.10.2017

http://forum.sa-mp.com/showthread.ph...92#post3939992

Й sу remover o sistema vip e usar o sistema cash.


Re: Sistema cash - GuiKommander - 07.10.2017

cycle
da esses erros quando compila, poderia me passar suas includes??
C:\Users\hp\Desktop\samp037_svr_R2-1-1_win32\pawno\include\sscanf2.inc(25 : warning 202: number of arguments does not match definition
C:\Users\hp\Desktop\samp037_svr_R2-1-1_win32\pawno\include\sscanf2.inc(271) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


Re: Sistema cash - ScripitrFaunu - 08.10.2017

Aqui estб base
PHP код:
new CASH[MAX_PLAYERS];
stock GivePlayerCash(playerid, cash)
{
    
CASH[playerid] = CASH[playerid] += cash;
    return 
1;
}
stock GetPlayerCash(playerid)
{
    return 
CASH[playerid];
}
//verificando
if(GetPlayerCash(playerid) >= 10)
{
    return 
1;
}
GivePlayerCash(playerid, 15); 
Boa Sorte!