I was wondering, - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I was wondering, (
/showthread.php?tid=69278)
I was wondering, -
harly - 16.03.2009
Well, i was wondering if i could have a command like Givefirearms,
Dcmd givefirearms,
And it will give you firearms, and you can only use this command every hour?
please help
Re: I was wondering, -
mirkoiz - 16.03.2009
Quote:
Originally Posted by harly
Well, i was wondering if i could have a command like Givefirearms,
Dcmd givefirearms,
And it will give you firearms, and you can only use this command every hour?
please help
|
What GM do you use?
if its GF, its easy to add
Re: I was wondering, -
harly - 17.03.2009
No, i dont use GM, its a self made one
Re: I was wondering, -
MenaceX^ - 17.03.2009
Make a command and set a timer of using it once per hour.
Re: I was wondering, -
harly - 17.03.2009
yeah, where would i place the command,
OnGameModeInit
SetTimer("giveweapons",600000,true);
OnPlayerCommandText
{
dcmd(giveweapons, 11, cmdtext);
return 0;
}
dcmd_giveweapons(playerid, params[])
{
?
You can pic what gun and it gives you 200 ammo bullets of it
Re: I was wondering, -
MenaceX^ - 17.03.2009
Why in OnGameModeInit you set the timer, you want the time to start when player writes the command, don't you?
Re: I was wondering, -
harly - 17.03.2009
Can you maske the command fo me please
Re: I was wondering, -
MenaceX^ - 17.03.2009
No, it's not Script Request Thread.