Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by Dezzzy
Error
HTML Code:
C:\Users\Gigi\Desktop\America Life\gamemodes\tutorial.pwn(103) : error 017: undefined symbol "money"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Line 103 >>>>GivePlayerMoney(playerid, money);
|
money isn't defined and you are using it.
The example you post assumes that money will be set.
You could put
HTML Code:
new money = 10000;
at the top of the script and that'd make, money, work.
Posts: 303
Threads: 27
Joined: Aug 2013
Reputation:
0
Instead of 'money', write the amount of money you want. For example '100000', Ofcourse without quote
Posts: 84
Threads: 25
Joined: Aug 2014
Reputation:
0
David it works but i want like , when i type money id and amount .. not only 10000
Posts: 1,733
Threads: 187
Joined: Oct 2014
Reputation:
0
Have you even read what he said? he wanted money not skin.
Posts: 843
Threads: 61
Joined: Feb 2013
Reputation:
0
Maybe he can read the tutorial and learn how to create a command using ZCMD and sscanf and use that knowledge to create any command, no matter changing player's skin or setting their money.