View Single Post
Old 02/05/2018, 05:06 PM   #1
OsmanMalagic
Little Clucker
 
Join Date: Jul 2016
Location: EX-YU
Posts: 40
Reputation: 51
Default Function DisableRemoteVehicleCollisions Not work in 0.3.7

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
OsmanMalagic is offline   Reply With Quote