Connecting FS
#1

I wanna connecting 4 fs in one.They are some jobs.This is their Pastebin.Please help me : ( i wanna they to be in one fs.Please conneting them and give me pastebin.I will give you +Rep .Thanks.This is they pastebin.

Pastebin; Combinejob http://pastebin.com/aDmXHjPF
Pastebin; Truck Driver Job http://pastebin.com/FEiPxsc2
Pastebin; Hotdog Job http://pastebin.com/myukxSGc
Pastebin; Flyjob http://pastebin.com/MN5bqpLB
Reply
#2

Please help me guys
Reply
#3

What's the problem here? can't you copy paste?
Reply
#4

Quote:
Originally Posted by Yordan_Kronos
View Post
Please help me guys
dont be lazy copy all code were is hes place on one script
Reply
#5

Quote:
Originally Posted by doreto
View Post
dont be lazy copy all code were is hes place on one script
Exactly, no one will do that 'black' job for you, it's only copy paste... lazy learn to make by yourself things.
Reply
#6

i coppy all them but give me around 20-30 errors.. i am not lazy .. i try but give me errors : (
Reply
#7

Quote:
Originally Posted by Yordan_Kronos
View Post
i coppy all them but give me around 20-30 errors.. i am not lazy .. i try but give me errors : (
Just look at errors and try fix them, if you have problems post them here, don't be a lazy.
Reply
#8

Show me how.. please i dont know what to do with return 0 ; return 1
Reply
#9

Post errors & lines here please.
with [pawn] tag.
Reply
#10

pawn Code:
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(133) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(133) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(133) : error 004: function "OnPlayerPickUpPickup" is not implemented
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(135) : error 017: undefined symbol "pickupid"
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(139) : error 017: undefined symbol "pickupid"
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(144) : error 030: compound statement not closed at the end of file (started at line 116)
pawn Code:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    if((truckjobrunning) == 1)
    {
        truckjobrunning = 0;
        SendClientMessage(playerid, COLOR_RED, "You left your truck behind, get in again if you want to continue your job.");

    }else if((truckjobrunning) == 0){
    if((flyjobrunning) == 1)
    {
        flyjobrunning = 0;
        SendClientMessage(playerid, COLOR_RED, "You left the plane, you failed the job.");

    }else if((flyjobrunning) == 0){

        //Nothing
 }
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == info)
    {
    GameTextForPlayer(playerid, "~g~Welcome at the Truck Driver job, use /truckinfo to know more", 3000, 3);
    }
    if(pickupid == info)
    {
    GameTextForPlayer(playerid, "~g~Welcome at the Fly job, use /flyinfo to know more", 3000, 3);
    }
}
Reply
#11

Give me lines 133,135 139 and 144.
Reply
#12

pawn Код:
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(134) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(134) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(134) : error 004: function "OnPlayerPickUpPickup" is not implemented
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(136) : error 017: undefined symbol "pickupid"
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(140) : error 017: undefined symbol "pickupid"
pawn Код:
}
public OnPlayerPickUpPickup(playerid, pickupid) //134
{ //135
    if(pickupid == info) //136
    { //137
    GameTextForPlayer(playerid, "~g~Welcome at the Truck Driver job, use /truckinfo to know more", 3000, 3); //138
    } // 139
    if(pickupid == info) // 140
    {
// 141
Reply
#13

you've forgot a return the valve of the public, simple
return 1;
Reply
#14

Thanks i fix this. Now i will copy paste more 2 jobs .. and if i have errors i will give you pwn code
Reply
#15

C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(123) : error 021: symbol already defined: "OnPlayerExitVehicle"


thats mean you have define it ones and you try again



offtopic: oh .....
Reply
#16

Quote:
Originally Posted by doreto
Посмотреть сообщение
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(123) : error 021: symbol already defined: "OnPlayerExitVehicle"


thats mean you have define it ones and you try again



offtopic: oh .....
I love you man. lol
Reply
#17

pawn Код:
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(212) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(212) : error 004: function "OnPlayerPickUpPickup" is not implemented
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(214) : error 017: undefined symbol "pickupid"
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(218) : error 017: undefined symbol "pickupid"
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(222) : error 017: undefined symbol "pickupid"
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(230) : error 030: compound statement not closed at the end of file (started at line 196)
pawn Код:
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
    if((truckjobrunning) == 1)
    {
        truckjobrunning = 0;
        SendClientMessage(playerid, COLOR_RED, "You left your truck behind, get in again if you want to continue your job.");

    }else if((truckjobrunning) == 0){
    if((flyjobrunning) == 1)
    {
        flyjobrunning = 0;
        SendClientMessage(playerid, COLOR_RED, "You left the plane, you failed the job.");

    }else if((flyjobrunning) == 0){
    if((combinejobrunning) == 1)
    {
         combinejobrunning = 0;
         SendClientMessage(playerid, COLOR_RED, "You left your combine behind, get in again if you want to continue your job.");

    }else if((combinejobrunning) == 0){

        //Nothing
 }
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == info)
    {
    GameTextForPlayer(playerid, "~g~Welcome at the Truck Driver job, use /truckinfo to know more", 3000, 3);
Reply
#18

Again you forgot to put
pawn Код:
return 1;
at the end of the public.
Reply
#19

pawn Код:
}else if((combinejobrunning) == 0){

    return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
again give me 6 errors
Reply
#20

Quote:
Originally Posted by Yordan_Kronos
Посмотреть сообщение
pawn Код:
}else if((combinejobrunning) == 0){

    return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
again give me 6 errors
OnPlayerPickUpPickup - add return 1;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)