Below the script does not work anymore.
#1

This system below has problems, I remove this part of the script and it works everything below it correctly, if I put the script in gamemode again, it does not load the functions below.

That is, below the script does not work anything else, why?

PHP код:
    if(GetPVarInt(playerid"CarKey1") != SCRIPT_CARS)
    {
        if(
CarInfo[GetPVarInt(playerid"CarKey1")][cOwned] == 0SetPVarInt(playerid"CarKey1"SCRIPT_CARS);
        if(
CarInfo[GetPVarInt(playerid"CarKey1")][cModel] == 48CarInfo[GetPVarInt(playerid"CarKey1")][cModel]=483;
        
//if(strcmp(CarInfo[GetPVarInt(playerid, "CarKey1")][cOwner], PlayerName(playerid), true) == 0) CallRemoteFunction("GiveAchievement", "iii", playerid, 3, 0);
    
}
    if(
GetPVarInt(playerid"CarKey2") != SCRIPT_CARS)
    {
        if(
CarInfo[GetPVarInt(playerid"CarKey2")][cOwned] == 0SetPVarInt(playerid"CarKey2"SCRIPT_CARS);
        if(
CarInfo[GetPVarInt(playerid"CarKey1")][cModel] == 48CarInfo[GetPVarInt(playerid"CarKey1")][cModel]=483;
        
//if(strcmp(CarInfo[GetPVarInt(playerid, "CarKey2")][cOwner], PlayerName(playerid), true) == 0) CallRemoteFunction("GiveAchievement", "iii", playerid, 3, 0);
    
}
    if(
GetPVarInt(playerid"CarKey3") != SCRIPT_CARS)
    {
        if(
CarInfo[GetPVarInt(playerid"CarKey3")][cOwned] == 0SetPVarInt(playerid"CarKey3"SCRIPT_CARS);
        if(
CarInfo[GetPVarInt(playerid"CarKey1")][cModel] == 48CarInfo[GetPVarInt(playerid"CarKey1")][cModel]=483;
        
//if(strcmp(CarInfo[GetPVarInt(playerid, "CarKey3")][cOwner], PlayerName(playerid), true) == 0) CallRemoteFunction("GiveAchievement", "iii", playerid, 3, 0);
    

Reply


Messages In This Thread
Below the script does not work anymore. - by SukMathcuck - 18.12.2016, 14:03
Re: Below the script does not work anymore. - by BrianFaria - 18.12.2016, 14:06
Re: Below the script does not work anymore. - by SukMathcuck - 18.12.2016, 14:32
Re: Below the script does not work anymore. - by SukMathcuck - 19.12.2016, 12:44

Forum Jump:


Users browsing this thread: 2 Guest(s)