if not
#1

Hello, i'm making a license system but i want it if
the player is somewhere else that he get a message.

I use this script :
Quote:

if(IsPlayerInRangeOfPoint(playerid, 5.0,1642,2993,-2332.3384,13.5469))
{
SendClientMessage(playerid, COLOR_RED, "[P-RP]: You are not at the DMV");
return 1;
}

I tried this '!' but it won't work :S
Quote:

if(!IsPlayerInRangeOfPoint(playerid, 5.0,1642,2993,-2332.3384,13.5469))
{
SendClientMessage(playerid, COLOR_RED, "[P-RP]: You are not at the DMV");
return 1;
}

Reply
#2

if(IsPlayerInRangeOfPoint(playerid, 5.0,1642,2993,-2332.3384,13.5469))
{
put your dmv coding in here
} else return SendClientMessage(playerid, COLOR_RED, "[P-RP]: You are not at the DMV");
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)