Wanted Problem
#1

Hey.I need Tutorial How to save Wanted after relog. Anyone can help me?If anyone have step by step tutorial.
Reply
#2

go at "OnPlayerConnect" and delete:


Quote:

WantedLevel[playerid] = 0; and WantedPoints[playerid] = 0;

add:

Quote:

SetPlayerWantedLevel(playerid,WantedLevel[playerid]);

go at "OnPlayerSpawn" and add:


Quote:

if(WantedLevel[playerid] > 0)
{
SendClientMessage(playerid, COLOR_LIGHTRED,"HERE IS YOUR MESSAGE");
}

Reply
#3

Yes but it save wanted on ID no on name.Ex:If someone with ID 1 have wanted and left the server and another person join the server with ID 1 he receive the wanted
Reply
#4

Are you already using a saving system? Like Y_ini or something?
Reply
#5

How can i see that?
Reply
#6

Yea, you need a saving system. Click the picture below.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)