Trouble with OnPlayerDissconnect
#1

pawn Код:
new mycar;
    new mycar2;
    mycar = PlayerInfo[playerid][pPcarkey];
    mycar2 = PlayerInfo[playerid][pPcarkey2];

    if(mycar != 9999)
    {
        SetVehicleVirtualWorld(mycar, 64);
    }
    if(mycar2 != 9999)
    {
        SetVehicleVirtualWorld(mycar2, 64);
    }
Anybody know the issue?
Reply
#2

pawn Код:
PlayerInfo[playerid][pPcarkey1] = GetPlayerVehicleID(playerid);
PlayerInfo[playerid][pPcarkey2] = GetPlayerVehicleID(playerid);
This will send the vehicle id = to the playercarkey to that virtual work tell me if its works (Y) really hope it did
Reply
#3

Quote:
Originally Posted by Glad2BeHere
Посмотреть сообщение
pawn Код:
PlayerInfo[playerid][pPcarkey1] = GetPlayerVehicleID(playerid);
PlayerInfo[playerid][pPcarkey2] = GetPlayerVehicleID(playerid);
This will send the vehicle id = to the playercarkey to that virtual work tell me if its works (Y) really hope it did
Sure did, cheers pal!

(And before Kreyg replies to this thread, trolling, saying "I'm copying the depspawn thing, I'm not. Look at the work, I'm actually making a freeroam server, so before you come trolling here Mr, think about what you're saying in future).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)