I want to make commands that wantedplayers cant use
#1

I have a CNR server and i want to make a kill cmd that wanted players cant use and some other teleports too just give me a reference and make a kill cmd that wanted guys cant use

THX in advance
rep up if it helps me
Reply
#2

Код:
if(PlayerInfo[playerid][pWanted] >= 1)
{
// code
Reply
#3

Just Make It Somthing Like

I'm Not Sure if SA-MP
Код:
if(GetPlayerWantedLevell > 5/*Whatever Wanted Level Here*/)
Start with Somthing like That,
Код:
And Just Return a Message like "You' Can't /Kill When your Wanted Level is Over 5" if Wanted Level is Greater Than 5 It'll Return That,
Otherwise (Else)

Код:
/* Do Stuff */
Somthing Like That, Anyways.


EDIT:

Or
Create a Variable like the Guy did Above Me


Ezay
\o/
Reply
#4

Quote:

if (strcmp("/kill", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, COLOR_YELLOW, "you have commited suicide using /kill");
return 1;
}

This is kill cmd now i want to make this non usable by wanted players what all lines should i add and how copy the quote and put the extra line needed and reply please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)