SA-MP Forums Archive
Help please, sort this out. - 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: Help please, sort this out. (/showthread.php?tid=172221)



Help please, sort this out. - Learningtoscript - 29.08.2010

Ok so I have an idea how this will work but I need help with the code.
Ok so, when you type /wank
Can someone just give me the lines of code?

freezeplayer;
settimer(wanktimer);
time = 1 minute

ontimerfinish();
unfreezeplayer;
Givesperm(player)++
Sendmessage (White, "You got sperm!")

Setnewtimer(wankingagain);
time = 5 minutes

ontimefinish(wankingagain);
enable player to wank.