other people will not see people who invisible i have some thing like this but it is a vehicle invisible
pawn Код:
if(strcmp(cmd,"/conceal",true)==0)
{
if(IsPlayerConnected(playerid))
{
new x_nr[256];
x_nr = strtok(cmdtext, idx);
if(!strlen(x_nr)) {
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /conceal [on/off]");
return 1;
}
new vehicleid = GetPlayerVehicleID(playerid);
GetPlayerName(playerid, sendername, sizeof(sendername));
if(strcmp(x_nr,"on",true) == 0)
{
if(!IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid,COLOR_GREY," you are not in a vehicle!");
return 1;
}
LinkVehicleToInterior(vehicleid, 100);
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /conceal [on/off]");
format(string, sizeof(string), "* %s turn on invisible", sendername);
ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else if(strcmp(x_nr,"off",true) == 0)
{
LinkVehicleToInterior(vehicleid, GetPlayerInterior(playerid));
format(string, sizeof(string), "* %s turn off invisible", sendername);
ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
return 1;
}
can someone change it into a people so people will not get in a car but can invisible
you can script invisible vehicles i know because i have them also a /hide command so no one can see me or my name tag but invisible people impossible youll probabily get not replys because people dony know how because its not possible