Untitled
public text v1 · immutable if(strcmp(cmd, "/roadlock", true)==0)
{
if (Jailed[playerid] == 1) {
SendClientMessage(playerid, COLOR_GREY, "You cannot escape!");
}
else
{
if(Road[playerid] == 1)
{
for (i = 0; i < MAX_PLAYERS; i++)
LockRoadCars(i);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You arent official Road Trip"); }
return 1;
}
}