SA-MP Forums Archive
Need Help Please - 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: Need Help Please (/showthread.php?tid=171141)



Need Help Please - NeverKnow - 25.08.2010

I have many idea of scripts but I don't know how to make them.

a) i'd like to make a checkpoint where they can start Missions and when they finish the mission they get
money + Wanted (its only allowed for Criminals so cops cant do the mission).

b) i'd like to make Killingspree Example:" <killerid>is On Killingspree [<Kils>] " but when they die then the killingspree needs to reset to 0.

c)i'd like to make /arrest command for Cops so they can arrest the criminals and they go to the jail.
and cops earn cash. (or if they do /arrest they go in the police car and then the cop get an checkpoint and if the cop gets in the checkpoint the criminal go to the Jail.)

I hope you can help me
Thanks!


Re: Need Help Please - RSX - 25.08.2010

I don't think anyone will make 3 things for you,
a) checkpoints are made with SetPlayerCheckPoint >> OnPlayerEnterCheckpoint (or similar)
SetPlayerWantedLevel SetPlayerMoney+GetPlayerMoney=GivePlayerMoney
b)SendClientMessageToAll when it's xth kill and killingspree[playerid]=0 under OnPlayerSpawn as it's working for 2 cases - new and died player.
c) kcmd zcmd dcmd or any other way make a command and check if is near criminal with IsPlayerInRangeOfPoint

Use sa-mp wiki with these commands and you'll soon make something.


Re: Need Help Please - NeverKnow - 25.08.2010

i only want some help to do this 3 script i need help.
and i dont understand dcmd, Zcmd and Kcmd