[Include] $$ Dollars and Cents $$
#21

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
I wanted to keep the textdraw part in a separate filterscript so it doesn't mess up if people are using the include in gamemode AND in filterscripts too.
You can use defines to turn textdraws on/off

also why would people use this in multiple scripts since it isnt "sharing" the money values with echother anyway, (so people have like $1 in the gamemode and $5 in the filterscript) ?

just sayin
Reply
#22

it's great script but i tried to make a CMD to get some cents it looks like this:
if(!strcmp(cmdtext, "/centai", true,6))
{
Cents_GivePlayerMoney(playerid, 0, cents=12)
return 1;
}

But i have errors:
C:\DOCUME~1\Ance_Zas\Desktop\GM\GM\GM\GM\GAMEMO~1\ band7.pwn(6923) : error 017: undefined symbol "cents"
C:\DOCUME~1\Ance_Zas\Desktop\GM\GM\GM\GM\GAMEMO~1\ band7.pwn(6923) : warning 215: expression has no effect
C:\DOCUME~1\Ance_Zas\Desktop\GM\GM\GM\GM\GAMEMO~1\ band7.pwn(6923) : error 001: expected token: ";", but found ")"
C:\DOCUME~1\Ance_Zas\Desktop\GM\GM\GM\GM\GAMEMO~1\ band7.pwn(6923) : error 029: invalid expression, assumed zero

Can you make a CMD to get cents?
Reply
#23

I have a prob, i crate this comand:if(!strcmp(cmdtext, "/centai", true,6))
{
GivePlayerMoney(playerid, 1, 2);
return 1;
}
it's working weveryfing is good but when i flushed SA:MP and go to webs or descop and going again in samp my cents and dolars geted with that cmd disapiers, can you explain it, maby i need to make dini saving cents?
Reply
#24

Quote:
Originally Posted by ancezas
Посмотреть сообщение
it's great script but i tried to make a CMD to get some cents it looks like this:
if(!strcmp(cmdtext, "/centai", true,6))
{
Cents_GivePlayerMoney(playerid, 0, cents=12)
return 1;
}

But i have errors:
C:\DOCUME~1\Ance_Zas\Desktop\GM\GM\GM\GM\GAMEMO~1\ band7.pwn(6923) : error 017: undefined symbol "cents"
C:\DOCUME~1\Ance_Zas\Desktop\GM\GM\GM\GM\GAMEMO~1\ band7.pwn(6923) : warning 215: expression has no effect
C:\DOCUME~1\Ance_Zas\Desktop\GM\GM\GM\GM\GAMEMO~1\ band7.pwn(6923) : error 001: expected token: ";", but found ")"
C:\DOCUME~1\Ance_Zas\Desktop\GM\GM\GM\GM\GAMEMO~1\ band7.pwn(6923) : error 029: invalid expression, assumed zero

Can you make a CMD to get cents?
Use
Код:
 GivePlayerMoeny(playerid, 20, 20);
with this include the native will be
Код:
GivePlayerMoney(playerid, dollars, cents);
Reply
#25

And What about this problem:
Quote:

I have a prob, i crate this comand:if(!strcmp(cmdtext, "/centai", true,6))
{
GivePlayerMoney(playerid, 1, 2);
return 1;
}
it's working weveryfing is good but when i flushed SA:MP and go to webs or descop and going again in samp my cents and dolars geted with that cmd disapiers, can you explain it, maby i need to make dini saving cents?

Reply
#26

Nice work@!@
10/10
Reply
#27

cool
Reply
#28

Nice one.
Reply
#29

This is when you use the word "Unique". Good Job.
Reply
#30

Nice
Reply
#31

Nice great work love it!
Reply
#32

Great for RP.
Reply
#33

Good job
Reply
#34

Yeah thx..
Reply
#35

epic and perfect.
Reply
#36

Awesome!
Reply
#37

yeah, its pretty nice, thanks!
Reply
#38

Nice , Include , but i have a prob.

It only give me Cents

CMD:geld(playerid,params[]) {
if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, Gelb, "Man muss eingeloggt , sein um Befehle zu verwenden.");
GivePlayerMoney(playerid, 20, 20);
SendClientMessage(playerid, Gelb, "Du hast 20,20$ erhalten.");
return 1;
}

And i get only 20cent , who i can solve this problem.

Sorry for my Bad English I am a German
Reply
#39

good job !!!
Reply
#40

Amazing.Gonna test it when i get a pc.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)