Why won't this work?(Solved)
#1

Код:
	if(strcmp("/givedrugs", cmdtext, true, 10) == 0)
	{
	 	SetPlayerWantedLevel(playerid,GetPlayerWantedLevel(playerid)+1);
	 	SendClientMessage(playerid, COLOR_GREEN, "You sold drugs to %s",playerid);
	}
It won't send to the person that bought the drugs
Reply
#2

if(strcmp("/givedrugs", cmdtext, true) == 0)
{
SetPlayerWantedLevel(playerid,GetPlayerWantedLevel (playerid)+1);
SendClientMessage(playerid, COLOR_GREEN, "You sold drugs to %s",playerid);
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)