SA-MP Forums Archive
need help :( - 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: need help :( (/showthread.php?tid=296327)



need help :( - jot16 - 11.11.2011

how can u make the player pay some cash when he use certain cmds and timer plz.


Re: need help :( - =WoR=G4M3Ov3r - 11.11.2011

https://sampwiki.blast.hk/wiki/GivePlayerMoney

PHP код:
GivePlayerMoney(playerid, -money); 
https://sampwiki.blast.hk/wiki/SetTimer


Re: need help :( - jot16 - 11.11.2011

Quote:
Originally Posted by =WoR=G4M3Ov3r
Посмотреть сообщение
thx.it works.


Re: need help :( - jot16 - 11.11.2011

one more question.whenever i use any cmd y do my player always gets killed?any idea?
script: http://pastebin.com/mFv80dup


Re: need help :( - jiwan - 11.11.2011

where is ondialogresponse in your script ?


Re: need help :( - jot16 - 11.11.2011

Quote:
Originally Posted by jiwan
Посмотреть сообщение
where is ondialogresponse in your script ?
I have it in my script but i just removed from the script i posted above.i don't get any errors when i compile.when im ingame and type cmds i die.


Re: need help :( - jiwan - 11.11.2011

reduce your 9999999999999999999 to 999999
and you don't have a /cmds command
i think solved!


Re: need help :( - Norn - 11.11.2011

pawn Код:
#define INFINITY (Float:0x7F800000)



Re: need help :( - jot16 - 11.11.2011

Quote:
Originally Posted by jiwan
Посмотреть сообщение
reduce your 9999999999999999999 to 999999
and you don't have a /cmds command
i think solved!
thx man it works.+reppppppppp


Re: need help :( - jot16 - 11.11.2011

edit: /godmod doesn't function.do u know y?