Doesn't put in veh.
#1

pawn Код:
bringer[playerid] = CreateVehicle(504,FarmWarRand[fRandom][0],FarmWarRand[fRandom][1],FarmWarRand[fRandom][2],FarmWarRand[fRandom][3],colors[random(126)],colors[random(126)],10000);
            SetVehicleVirtualWorld(bringer[playerid],RingerWar);
                    if(!IsPlayerInAnyVehicle(playerid)) PutPlayerInVehicle(playerid,bringer[playerid],0), TogglePlayerControllable(playerid,true);
so the first player who types /join gets putted in the vehicle ,but the 2nd doesn't, he needs to die then gets putted into the veh, anyone knows why?
Reply
#2

coding fail, thats all
Reply
#3

I'd like to see you do better ?
Reply
#4

Help?.
Reply
#5

Quote:
Originally Posted by Steven82
coding fail, thats all
Instead of spamming the topic, you should try and help.

Can I see the rest of the callback where that code resides please?
Reply
#6

Quote:
Originally Posted by Grim_
Quote:
Originally Posted by Steven82
coding fail, thats all
Instead of spamming the topic, you should try and help.

Can I see the rest of the callback where that code resides please?
pawn Код:
SetPlayerSkin(playerid, FarmSkin[random(sizeof(FarmSkin))][0]);
        new fRandom = random(sizeof(FarmWarRand));
        bringer[playerid] = CreateVehicle(504,FarmWarRand[fRandom][0],FarmWarRand[fRandom][1],FarmWarRand[fRandom][2],FarmWarRand[fRandom][3],colors[random(126)],colors[random(126)],10000);
    SetVehicleVirtualWorld(bringer[playerid],RingerWar);
        if(!IsPlayerInAnyVehicle(playerid)) PutPlayerInVehicle(playerid,bringer[playerid],0), TogglePlayerControllable(playerid,true);
        gTeam[playerid] = TEAM_RINGER;
        SetPlayerWorldBounds(playerid, -887.5186, -1261.211, -875.8406, -1342.956);
        SetPlayerVirtualWorld(playerid,RingerWar);
        SetPlayerColor(playerid,COLOR_STEELBLUE);
        ResetPlayerWeapons(playerid);
        GivePlayerWeapon(playerid,16,15);
        GivePlayerWeapon(playerid,25,20);
        GivePlayerWeapon(playerid,30,100);
        GivePlayerWeapon(playerid,6,1);
        InMiniGames[playerid] = 1;
        PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
        TogglePlayerControllable(playerid,true);
Reply
#7

bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)