HELP! +REP - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: HELP! +REP (
/showthread.php?tid=525420)
HELP! +REP -
Faix - 11.07.2014
Someone have a good tutorial about making a coins system I will give +REP? Like this:
removed
Re : HELP! +REP -
Clad - 11.07.2014
No need to double post, It's just a simple coin system with textdraws.
Try to use this
Click
Re: HELP! +REP -
Faix - 11.07.2014
I compiled, erros:
pawn Код:
C:\Users\usuario\Desktop\[World of Monsters]\pawno\include\sscanf2.inc(43) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
C:\Users\usuario\Desktop\[World of Monsters]\pawno\include\sscanf2.inc(46) : error 017: undefined symbol "GetMaxPlayers"
C:\Users\usuario\Desktop\[World of Monsters]\pawno\include\sscanf2.inc(46) : error 029: invalid expression, assumed zero
C:\Users\usuario\Desktop\[World of Monsters]\pawno\include\sscanf2.inc(46) : warning 215: expression has no effect
C:\Users\usuario\Desktop\[World of Monsters]\pawno\include\sscanf2.inc(47) : error 017: undefined symbol "funcidx"
C:\Users\usuario\Desktop\[World of Monsters]\pawno\include\sscanf2.inc(47) : warning 215: expression has no effect
C:\Users\usuario\Desktop\[World of Monsters]\pawno\include\sscanf2.inc(47) : error 001: expected token: ";", but found ")"
C:\Users\usuario\Desktop\[World of Monsters]\pawno\include\sscanf2.inc(47) : error 029: invalid expression, assumed zero
C:\Users\usuario\Desktop\[World of Monsters]\pawno\include\sscanf2.inc(47) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
Re : HELP! +REP -
Clad - 11.07.2014
Try to upload your sscanf to the newest one
Re: HELP! +REP -
Faix - 11.07.2014
it is, this system was using <sscanf> i changed the name to <sscanf2> and my plugin and my include is updated
Re: HELP! +REP -
cnoopers - 11.07.2014
Код:
new coins[MAX_PLAYERS];
stock SetPlayerCoins(playerid, score)
{
if(IsPlayerConnected(playerid))
{
coins[playerid] = score;
}
}
stock GivePlayerCoins(playerid, score)
{
if(IsPlayerConnected(playerid))
{
coins[playerid] += score;
}
}
stock GetPlayerCoins(playerid) {
if (IsPlayerConnected(playerid))
return coins[playerid];
return 0;
}
+
PlayerTextDrawSetString