HELP! +REP
#1

Someone have a good tutorial about making a coins system I will give +REP? Like this:

removed
Reply
#2

No need to double post, It's just a simple coin system with textdraws.
Try to use this Click
Reply
#3

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.
Reply
#4

Try to upload your sscanf to the newest one
Reply
#5

it is, this system was using <sscanf> i changed the name to <sscanf2> and my plugin and my include is updated
Reply
#6

Код:
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)