24.10.2012, 18:04
Hello Guyz This Is The /search thing where the bug is showing. when i type /search my other tester have 100 grams of weed and 5 injection of heroin. but when you /search him it shows 0 weed and 0 injection but my tester get wanted. pls help fix that when you have weed and heroin you can see the ammount he have
Код:
SendClientMessage(ID,COLOR_DEADCONNECT,"[[_SEARCHED_]]"); format(string,sizeof(string),"Law Enforcement Officer %s(%d) has started to search you, better hope you are not carrying anything ilegal!",PlayerName(playerid),playerid); SendClientMessage(ID,COLOR_DODGERBLUE,string); if(HasWeed[ID] >= 1 || HasHeroin[ID] >= 1) { if(HasWeed[ID] >= 1) { format(string,sizeof(string),"[POLICE ACTION] Officer %s(%d) has searched %s(%d) and found %d grams of weed on them.",PlayerName(playerid),playerid,PlayerName(ID),ID,HasWeed[ID]); SendClientMessageToAll(COLOR_LIGHTBLUE,string); IncreaseWantedLevel(ID,4); } if(HasHeroin[ID] >= 1) { format(string,sizeof(string),"[POLICE ACTION] Officer %s(%d) has searched %s(%d) and found %d injections of heroin on them.",PlayerName(playerid),playerid,PlayerName(ID),ID,HasHeroin[ID]); SendClientMessageToAll(COLOR_LIGHTBLUE,string); IncreaseWantedLevel(ID,4); } return 1;