SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 19/06/2012, 08:20 PM   #11
Revo
Huge Clucker
 
Revo's Avatar
 
Join Date: Apr 2012
Location: The Netherlands
Posts: 219
Reputation: 53
Default Re: Dealership Question- problem

First of all, your identation appears fucked up and I can't vertify if that's the way your command is supposed to look, but ignoring that, I have no clue what all these 'hacklog' functions do.

Add a
pawn Code:
printf("%d", CarInfo[idcar][cValue]);
under
pawn Code:
GivePlayerMoney(playerid,-CarInfo[idcar][cValue]);
And debug whatever you can, it seems like the money isn't being withdrawn because the values supplied are incorrect; this is just a guess from my side though as I didn't get half of the information needed. The code itself is just confusing in many perspectives.
Revo is offline   Reply With Quote
Old 19/06/2012, 09:01 PM   #12
Dan_Barocu
Banned
 
Join Date: Mar 2011
Location: Romania
Posts: 1,013
Reputation: 7
Default Re: Dealership Question- problem

what does the printf do?
EDIT:Hacklog ??
Dan_Barocu is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dealership crimind Scripting Help 5 26/01/2012 01:09 PM
i NEED HELP WITH DEALERSHIP Dan_Barocu Help Archive 6 27/04/2011 07:05 PM
Car Dealership [HELP...!] Cristiano[TW[ Help Archive 14 25/01/2011 09:11 PM
Car dealership [I will pay] yarrum3 Help Archive 0 19/01/2011 05:14 AM


All times are GMT. The time now is 12:53 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.