SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 30/09/2011, 01:43 PM   #1
wumpyc
Huge Clucker
 
wumpyc's Avatar
 
Join Date: Jul 2011
Location: Z:\Users\1337
Posts: 373
Reputation: 12
Default SetPlayerWantedLevel

Hey, is there any other function like GivePlayerWantedLevel...so it wont set but only give him the stars...pls help
__________________
wumpyc is offline   Reply With Quote
Old 30/09/2011, 01:46 PM   #2
Jafet_Macario
Huge Clucker
 
Jafet_Macario's Avatar
 
Join Date: Jul 2011
Posts: 439
Reputation: 67
Default Re: SetPlayerWantedLevel

pawn Code:
new wantedlevel = GetPlayerWantedLevel(playerid);
SetPlayerWantedLevel(playerid, wantedlevel + 1); // It will give him +1 wanted level
__________________
Jafet_Macario is offline   Reply With Quote
Old 30/09/2011, 02:44 PM   #3
Lorenc_
High-roller
 
Lorenc_'s Avatar
 
Join Date: Jan 2010
Location: Australia
Posts: 3,793
Reputation: 1179
Default Re: SetPlayerWantedLevel

pawn Code:
stock GivePlayerWantedLevel(playerid, level) return SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid) + level);

#define GivePlayerWantedLevel(%1, %2) SetPlayerWantedLevel(%1, GetPlayerWantedLevel(%1) + %2)

These should work
__________________
Join the best Cops And Robbers in SA-MP, today. svr.sfcnr.com:7777

Lorenc_ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SetPlayerWantedLevel cozza123456 Help Archive 1 15/03/2010 04:27 PM
Have problem with using SetPlayerWantedLevel(targetid,amount); woaha Help Archive 1 03/08/2009 11:06 PM


All times are GMT. The time now is 08:03 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.