25.01.2013, 11:09
And honestly, you have mistakes in your script ... Let me give you an example:
The mistake is at the format line:
Figure it out ... 
How about if I do /contract X -2324324 ... That would give me 2324324$ in my hand. You need to check for negative values...
And that's just one, I noticed at a first glance over your tutorial. Overall, it's well explained but you need to be more careful.
Quote:
pawn Code:
|
pawn Code:
format(message2,sizeof(message2), "HQ: A player has put a contract on %s for $%d.", bounty);

How about if I do /contract X -2324324 ... That would give me 2324324$ in my hand. You need to check for negative values...
And that's just one, I noticed at a first glance over your tutorial. Overall, it's well explained but you need to be more careful.