Problem with faction leadering
#4

Try this:
PHP код:
CMD:commanderbateau(playeridparams[]) {
    if(
PlayerInfo[playerid][pFacleader] > || PlayerInfo[playerid][pFacleader] > || PlayerInfo[playerid][pFaclank] >= 8) {
        for(new 
0GetPlayerPoolSize(); <= j++) {
            if(
ControllingShip[i] == 1) {
                return 
SendClientMessage(playerid, -1"Le navire est actuellement dйtenu а commande par quelqu'un d'autre.");
            }
        }
        
Camera CreateObject(0000000);
        
AttachCameraToObject(playeridCamera);
        
AttachObjectToVehicle(CameraPirateShip0, -35230.00.00.0);
        
PutPlayerInVehicle(playeridPirateShip0);
        
ControllingShip[playerid] = 1;
        
SendClientMessage(playerid, -1"Tape /quiiterbateau ou appuie sur 'F' si tu vuew arrкter de commander ce navire.");
    }
    return 
1;

I usually don't spoon feed code, but I've got a feeling that you won't know how to fix these errors even if I told you what to do. Look at the code above and tell me which parts you don't understand and I'll happily explain them to you.
Reply


Messages In This Thread
Problem with faction leadering - by ImMuslimNigga - 29.12.2015, 16:05
Re: Problem with faction leadering - by AndySedeyn - 29.12.2015, 16:09
Re: Problem with faction leadering - by ImMuslimNigga - 30.12.2015, 23:06
Re: Problem with faction leadering - by AndySedeyn - 30.12.2015, 23:29
Re: Problem with faction leadering - by ImMuslimNigga - 31.12.2015, 03:40

Forum Jump:


Users browsing this thread: 1 Guest(s)