SA-MP Forums Archive
[HELP]Money convert to Coin - 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]Money convert to Coin (/showthread.php?tid=567627)



[HELP]Money convert to Coin - fuckingcruse - 15.03.2015

Hello all , I want a codes that convert Money [ $ ] to a thing called coin .

$1000 = 1 coin .. last time someone gave me vice versa so I need money convert to coin..

Something like /convert a dialog box comes and ask for how many coins you need? If he types 1 coin he receive 1 coin and -$1000 .. thanks .. it would be apprericiated if you help me thanks


Re: [HELP]Money convert to Coin - billy123321 - 15.03.2015

What includes are you using?


Re: [HELP]Money convert to Coin - fuckingcruse - 15.03.2015

Zcmd


Re: [HELP]Money convert to Coin - Mauzen - 15.03.2015

If you got the other code you just need to reverse it. Thats a matter of 2 or 3 variable substitutions.


Re: [HELP]Money convert to Coin - fuckingcruse - 15.03.2015

I don't have any code , I need 1 lol.. can someone provide me?


Re: [HELP]Money convert to Coin - ATGOggy - 15.03.2015

You need to make it yourself. We are not here to script for you.


Re: [HELP]Money convert to Coin - fuckingcruse - 15.03.2015

Oh dude .. if you make the coin one , I can understand it and makr other things continuing from coin and so on


Re: [HELP]Money convert to Coin - ATGOggy - 15.03.2015

Quote:
Originally Posted by fuckingcruse
View Post
Oh dude .. if you make the coin one , I can understand it and makr other things continuing from coin and so on
I already took so much time and made a coin to money for you in your last post.


Re: [HELP]Money convert to Coin - billy123321 - 15.03.2015

http://pastebin.com/XJfGkkGB

Didn't test it, but there you go. Hope you are able to learn from the code and make it yourself next time.


Re: [HELP]Money convert to Coin - fuckingcruse - 15.03.2015

It was deleted by admins because of title bro.. I want money to coin , not coin to money , and I didn't know it was not deleted and I wrote thanks too , but when I posted it showed its deleted.. , so I re-posted , pls provide me money to coin pls


Re: [HELP]Money convert to Coin - billy123321 - 15.03.2015

Quote:
Originally Posted by fuckingcruse
Посмотреть сообщение
It was deleted by admins because of title bro.. I want money to coin , not coin to money , and I didn't know it was not deleted and I wrote thanks too , but when I posted it showed its deleted.. , so I re-posted , pls provide me money to coin pls
http://pastebin.com/XJfGkkGB


Re: [HELP]Money convert to Coin - ATGOggy - 15.03.2015

Quote:
Originally Posted by fuckingcruse
Посмотреть сообщение
It was deleted by admins because of title bro.. I want money to coin , not coin to money , and I didn't know it was not deleted and I wrote thanks too , but when I posted it showed its deleted.. , so I re-posted , pls provide me money to coin pls
Oh ok, then Well, someone posted a code for you. Try it.


Re: [HELP]Money convert to Coin - fuckingcruse - 15.03.2015

Thanks I will try in 40 minutes and soon say if its good , Thanks all , if I would have 50 posts I would rep you..


Re: [HELP]Money convert to Coin - fuckingcruse - 15.03.2015

Only 1 error ..

Quote:

public OnPlayerConnect(playerid)
{
PlayerInfo[playerid][pCoins] = 0;
return 1;
}

error 017: undefined symbol "PlayerInfo"

And how can i know my coins?

Another Error see the Screen ..