stars wanted - 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: stars wanted (
/showthread.php?tid=68376)
stars wanted -
Zocerman - 09.03.2009
How do agree that when someone makes a crime shows the stars
Re: stars wanted -
saiberfun - 09.03.2009
SetPlayerWantedLevel()
Re: stars wanted -
Zocerman - 09.03.2009
what for you now??
Re: stars wanted -
sonny bepino - 09.03.2009
Quote:
Originally Posted by Zocerman
what for you now??
|
Well you use this when dead player dies or he kills someone.
You can try using it OnPlayerDeath add that SetPlayerWanted(playerid , 0 ); (Not so good with wanted stuff) and add some stuff...
GameTextForPlayer(playerid, "Wasted", 3500, 2);
SetPlayerWanted(playerid , 0 );
Something from singleplayer and all people know it.
Re: stars wanted -
darkrider366 - 09.03.2009
Quote:
Originally Posted by X-Roto
Quote:
Originally Posted by Zocerman
what for you now??
|
Well you use this when dead player dies or he kills someone.
You can try using it OnPlayerDeath add that SetPlayerWanted(playerid , 0 ); (Not so good with wanted stuff) and add some stuff...
GameTextForPlayer(playerid, "Wasted", 3500, 2);
SetPlayerWanted(playerid , 0 );
Something from singleplayer and all people know it.
|
your wrong
onplayerdeath
GameTextForPlayer(playerid, "fucked up", 3500, 2);
SetPlayerWanted(killerid, 1);
Re: stars wanted -
Mikep - 09.03.2009
Or prehaps
pawn Код:
new pLevel;
pLevel = GetPlayerWantedLevel(killerid);
if(pLevel != 6) SetPlayerWanted(killerid, pLevel+1);
Re: stars wanted -
linxx - 10.03.2009
That wont work he will have pLevel already defined in his player info so he will get error 021: symbol already defined: "pLevel" and also error 010: invalid function or declaration and tag mismatch coz plevel is used for levelup an a few varios things if he is using a gf moderntopia or p1 what if more than likely and if he is it uses WantedPoints so he can change all of them and make it so everypayday takes 1 star off and 1 wanted point just to make it interesting :P
Re: stars wanted -
Mikep - 10.03.2009
Shouldn't use GF then.