stars wanted
#1

How do agree that when someone makes a crime shows the stars
Reply
#2

SetPlayerWantedLevel()
Reply
#3

what for you now??
Reply
#4

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.
Reply
#5

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);
Reply
#6

Or prehaps

pawn Код:
new pLevel;
pLevel = GetPlayerWantedLevel(killerid);
if(pLevel != 6) SetPlayerWanted(killerid, pLevel+1);
Reply
#7

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
Reply
#8

Shouldn't use GF then.
Reply


Forum Jump:


Users browsing this thread: