Function DisableRemoteVehicleCollisions Not work in 0.3.7
#1

Function DisableRemoteVehicleCollisions not work for me and also for other players.
My vehicle cannot pass through other car
Example of code:

PHP Code:
public OnPlayerCommandText(playeridcmdtext[])
{
    if(!
strcmp(cmdtext"/collision"true))
    {
        new 
string[64];
 
        
format(stringsizeof(string), "Vehicle collision for you is now '%s'", (GetPVarInt(playerid"vehCollision") != 1) ? ("Disabled") : ("Enabled"));
        
SendClientMessage(playerid0xFFFFFFFFstring);
 
        
SetPVarInt(playerid"vehCollision", !GetPVarInt(playerid"vehCollision"));
 
        
DisableRemoteVehicleCollisions(playeridGetPVarInt(playerid"vehCollision"));
        return 
1;
    }
    return 
0;

My vehicle cannot pass through other car
I try to find any possible solution to fix this, and also all my Includes are updated to new version.
Any ideas for my next try are welcome
Reply


Messages In This Thread
Function DisableRemoteVehicleCollisions Not work in 0.3.7 - by OsmanMalagic - 02.05.2018, 17:06
Re: Function DisableRemoteVehicleCollisions Not work in 0.3.7 - by NaS - 02.05.2018, 18:02
Re: Function DisableRemoteVehicleCollisions Not work in 0.3.7 - by OsmanMalagic - 02.05.2018, 19:38
Re: Function DisableRemoteVehicleCollisions Not work in 0.3.7 - by MaisterK - 28.07.2018, 01:12

Forum Jump:


Users browsing this thread: 3 Guest(s)