A few questions regarding stars and... - 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: A few questions regarding stars and... (
/showthread.php?tid=88829)
A few questions regarding stars and... - killdahobo99 - 29.07.2009
I have a few questions regarding stars and what is wrong with the commands i got.
1. How do you put stars, (like the wanted stars) ? what is the thing that puts stars when a person does a certain thing.
2. How do i detect if a person has stars? like i have a /taze command, and i only want it to work if the player is wanted with 3 stars. How do i check if a player has 3 stars?
3. With the stars, how do i set certain colors, so if a player has 1 star hes yellow, 2 stars still yellow 3 stars orange 4 stars red and 5 red?
4. Last question, can someone edit the commands in this pastebin, so when a person who is not part of TEAM_COP uses the commands /cuff, /uncuff, /taze (they are in the pastebin) it returns a message saying "Only cops can use those commands" and if you can, set it so only wanted players can be get /taze
Pastebin:
http://pastebin.com/m5f1c07a2
Please try to answer the questions in the way i posted them so it makes a lot more sence.
Thank you.
Re: A few questions regarding stars and... -
[mad]MLK - 29.07.2009
sorry dude im not that good of a coder yet but i think you need these
Code:
GetPlayerWantedLevel()
SetPlayerWantedLevel(playerid, put 1-5 here);
Re: A few questions regarding stars and... - killdahobo99 - 29.07.2009
Quote:
Originally Posted by [mad
MLK ]
sorry dude im not that good of a coder yet but i think you need these
Code:
GetPlayerWantedLevel()
SetPlayerWantedLevel(playerid, put 1-5 here);
|
Thanks for the reply, but can somone answer the rest of the questions..