Beiträge von Nixon
-
-
ich kenne ein TAUSEND mal besseres geh mal auf google und such nach PPC housing
da sind autos dabei welches level das haus haben soll , /createhouse price lvl
hat /delhouse
hat /housemenu wenn du im haus bist kommt ein menü wo steht buy can insurance, exit,open to republic,close to republic,buycar,sellhouse,sellcar -
ich habe doch geschrieben !!
-
sorry ich meinte nicht /work ich meinte /convoy
//ediit du weisst schon das wenn man /convoy macht das dann kommt wollen sie einenen convoy beitreten und wollen sie ein convoy erstelllen
-
wirklich habe alles richtig gemacht bei dem erstellen des ordners scriptfiles
das problem ist eigentlich dass das /convoy einen dialog hat aber keine richtige funktion gucks nichmal bitte genau an
-
der ordner convoy besteht ja
-
Hi leute,
ich habe ein kleines problem mit einem convoy system also erstmal will ich klar stellen das ich mir nicht die mühe geacht habe sondern ein richtig netter helfer t4125Gamer der hat mir das alles gemacht und bedanke mich das er sich die ganze mühe gemacht hat dafür also das ist der script:
#include <ocmd>
#include <a_samp>
#include <dini>
#include <utils>
#define ROT 0x0000000#pragma unused ret_memcpy
#define DIALOG_CONVOY 131
#define DIALOG_CONVOY_CREATE 132
#define DIALOG_CONVOY_JOIN 133enum convoy
{
convoy1,
convoy2,
convoy3,
convoy4,
convoy5,
convoy6,
convoy7,
convoy8,
convoy9,
convoy10,
convoy11,
convoyleader
};new ConvoyInfo[convoy];
new PlayerConvoyInfo[MAX_PLAYERS][convoy];public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Convoy Filterscript by T4125Gamer geladenen");
print("--------------------------------------\n");
return 1;
}public OnFilterScriptExit()
{
new string[128];
format(string,sizeof(string),"/Convoy/%s.txt",convoy);
dini_Remove(string);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
PlayerConvoyInfo[playerid][convoyleader] = 0;
if(PlayerConvoyInfo[playerid][convoy1] == 1)
{
PlayerConvoyInfo[playerid][convoy1] = 0;
}
else if(PlayerConvoyInfo[playerid][convoy2] == 1)
{
PlayerConvoyInfo[playerid][convoy2] = 0;
}
else if(PlayerConvoyInfo[playerid][convoy3] == 1)
{
PlayerConvoyInfo[playerid][convoy3] = 0;
}
else if(PlayerConvoyInfo[playerid][convoy4] == 1)
{
PlayerConvoyInfo[playerid][convoy4] = 0;
}
else if(PlayerConvoyInfo[playerid][convoy5] == 1)
{
PlayerConvoyInfo[playerid][convoy5] = 0;
}
else if(PlayerConvoyInfo[playerid][convoy6] == 1)
{
PlayerConvoyInfo[playerid][convoy6] = 0;
}
else if(PlayerConvoyInfo[playerid][convoy7] == 1)
{
PlayerConvoyInfo[playerid][convoy7] = 0;
}
else if(PlayerConvoyInfo[playerid][convoy8] == 1)
{
PlayerConvoyInfo[playerid][convoy8] = 0;
}
else if(PlayerConvoyInfo[playerid][convoy9] == 2)
{
PlayerConvoyInfo[playerid][convoy9] = 0;
}
else if(PlayerConvoyInfo[playerid][convoy10] == 2)
{
PlayerConvoyInfo[playerid][convoy10] = 0;
}
return 1;
}public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/notwork", true) == 0)
{
ShowPlayerDialog(playerid,DIALOG_CONVOY,DIALOG_STYLE_LIST,"Convoy Menü","1. Einen neuen Convony erstellen\n2. Einem Convoy beitreten","Wählen","Abbrechen");
return 1;
}
return 0;
}public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}public OnRconCommand(cmd[])
{
return 1;
}public OnPlayerRequestSpawn(playerid)
{
return 1;
}public OnObjectMoved(objectid)
{
return 1;
}public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}public OnPlayerExitedMenu(playerid)
{
return 1;
}public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}public OnPlayerUpdate(playerid)
{
return 1;
}public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 132)
{
if(response)
{
new convoy_create[64];
new convoy_save = ReturnUser(inputtext);
format(convoy_create,sizeof(convoy_create),"/Convoy/%s.txt",convoy_save);
dini_Create(convoy_create);
dini_IntSet(convoy_create,"Name",convoy_save);
ConvoyInfo[convoy1] = 1;
PlayerConvoyInfo[playerid][convoyleader] = 1;
if(ConvoyInfo[convoy1] == 1)
{
new convoy_save1 = ReturnUser(inputtext);
format(convoy_create,sizeof(convoy_create),"/Convoy/%s.txt",convoy_save1);
ConvoyInfo[convoy2] = 1;
PlayerConvoyInfo[playerid][convoyleader] = 2;
}
else if(ConvoyInfo[convoy2] == 1)
{
new convoy_save2 = ReturnUser(inputtext);
format(convoy_create,sizeof(convoy_create),"/Convoy/%s.txt",convoy_save2);
ConvoyInfo[convoy3] = 1;
PlayerConvoyInfo[playerid][convoyleader] = 3;
}
else if(ConvoyInfo[convoy3] == 1)
{
new convoy_save3 = ReturnUser(inputtext);
format(convoy_create,sizeof(convoy_create),"/Convoy/%s.txt",convoy_save3);
ConvoyInfo[convoy4] = 1;
PlayerConvoyInfo[playerid][convoyleader] = 4;
}
else if(ConvoyInfo[convoy4] == 1)
{
new convoy_save4 = ReturnUser(inputtext);
format(convoy_create,sizeof(convoy_create),"/Convoy/%s.txt",convoy_save4);
ConvoyInfo[convoy5] = 1;
PlayerConvoyInfo[playerid][convoyleader] = 5;
}
else if(ConvoyInfo[convoy5] == 1)
{
new convoy_save5 = ReturnUser(inputtext);
format(convoy_create,sizeof(convoy_create),"/Convoy/%s.txt",convoy_save5);
ConvoyInfo[convoy6] = 1;
PlayerConvoyInfo[playerid][convoyleader] = 6;
}
else if(ConvoyInfo[convoy6] == 1)
{
new convoy_save6 = ReturnUser(inputtext);
format(convoy_create,sizeof(convoy_create),"/Convoy/%s.txt",convoy_save6);
ConvoyInfo[convoy7] = 1;
PlayerConvoyInfo[playerid][convoyleader] = 7;
}
else if(ConvoyInfo[convoy7] == 1)
{
new convoy_save7 = ReturnUser(inputtext);
format(convoy_create,sizeof(convoy_create),"/Convoy/%s.txt",convoy_save7);
ConvoyInfo[convoy8] = 1;
PlayerConvoyInfo[playerid][convoyleader] = 8;
}
else if(ConvoyInfo[convoy8] == 1)
{
new convoy_save8 = ReturnUser(inputtext);
format(convoy_create,sizeof(convoy_create),"/Convoy/%s.txt",convoy_save8);
ConvoyInfo[convoy9] = 1;
PlayerConvoyInfo[playerid][convoyleader] = 9;
}
else if(ConvoyInfo[convoy9] == 1)
{
new convoy_save9 = ReturnUser(inputtext);
format(convoy_create,sizeof(convoy_create),"/Convoy/%s.txt",convoy_save9);
ConvoyInfo[convoy10] = 1;
PlayerConvoyInfo[playerid][convoyleader] = 10;
}
else if(ConvoyInfo[convoy10] == 1)
{
new convoy_save10 = ReturnUser(inputtext);
format(convoy_create,sizeof(convoy_create),"/Convoy/%s.txt",convoy_save10);
ConvoyInfo[convoy11] = 1;
PlayerConvoyInfo[playerid][convoyleader] = 11;
}
else if(ConvoyInfo[convoy11] == 1)
{
SendClientMessage(playerid,ROT,"Error: Es gibt schon 10 Convoys!");
}
}
}
if(dialogid == 131)
{
if(response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid,132,DIALOG_STYLE_INPUT,"Convoy Menü","Wie soll dein Convoy heißen?","Wählen","Abbrechen");
return 1;
}
else if(listitem == 1)
{
new string[128];
new convoy_auslesen1 = dini_Int("/Convoy/%s.txt", "Name");
format(string,sizeof(string),"%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s",convoy_auslesen1,convoy2,convoy3,convoy4,convoy5,convoy6,convoy7,convoy8,convoy9,convoy10);
ShowPlayerDialog(playerid,DIALOG_CONVOY_JOIN,DIALOG_STYLE_LIST,"Convoy Menü",string,"Wählen","Abbrechen");
return 1;
}
}
}
return 1;
}
ocmd:convoy(playerid,params[])
{
ShowPlayerDialog(playerid,131,DIALOG_STYLE_LIST,"Convoy Menü","1. Einen neuen Convony erstellen\n2. Einem Convoy beitreten","Wählen","Abbrechen");
return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}das probleme is wenn mann /convoy macht dann kommt ein dialog nur wenn man irgendwo drauf klickt dann passiert 0
-
Richtig immer vom erstenn komma bis zum vierten
-
Hi erstmal ch würde dir das tutorial von mrmonat empfehlen (fraktionen werden gespeicherts , level, du kannst paasword sehen und umbenennen,du siehst adminlevel (1-5) und völlig ohne bugs zusätzlich ist es ein tutorial das heisst du lernst nochmal viel dazu hier ist der link zum tutorial:m.youtube.com/watch?gl=DE&client=mv-google&hl=de&v=GYqJdj45pmI
-
klppt net biitte guckt nochmal genau an
kann denn niemand helfen?
-
ammu 1 und ammu2 sind ganz neue checkpoints
die ist klar dass es immer nur 2 chekcpoints per auftrag bei mir gibt?nur das der erste checkpoint bei ammu 1 und bei ammu2 der gleich ist ich habe ganz oben nich geschrieben:
new Ammu1[20];
new Ammu2[20];
new Ammu3[20];
new Ammu4[20];
new Ammu5[20];
new Ammu6[20];
new Ammu7[20];
new Ammu8[20];
new Ammu9[20];klappt net
klappt nur nicht wenn man zu zweit oder mehr ist sonst kalppt es -
ach klar hab ich vergessen kein ahnung warum aber vielen dank ich teste gleich mal obs klapp
ähhm hast du bedacht dass es Ammu1 Ammu2 und so weiter gibt?
wirlich danke -
hatte ich auch aber ich habe es einfach wiedert gelöscht
-
Hi ich habe ein /work system nur es treten manchmal bugs auf das man direkt wenn man im ersten punkt ist das man das geld bekommt obwohl das geld erst im 2ten punkt kommen soll
außerdem war glaub ich noch ein bug dass einmal der punkt aufeinmal verschwunden war.hier ist der script(den Ccp, checkpoint und LSTOLV:
public OnPlayerEnterCheckpoint(playerid)
{
if(Ccp[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ccp[playerid] = 2;
SetPlayerCheckpoint(playerid, 927.1014,2084.5405,10.8203, 5.0);
SendClientMessage(playerid, BLAU,"Bring das Geld in deine Base!");
return 1;
}if(Ccp[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ccp[playerid] = 0;GivePlayerMoney(playerid,5000);
SendClientMessage(playerid, BLAU,"Du hast es Geschaft, hier etwas Geld!");
return 1;
}
if(checkpoint[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
checkpoint[playerid] = 2;
SetPlayerCheckpoint(playerid, 1642.9668,-2414.5276,13.5547, 5.0);
SendClientMessage(playerid, BLAU,"Deliver the passengers to LS!");
return 1;
}if(checkpoint[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
checkpoint[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got sth money!");
return 1;
}
if(LSTOLV[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
LSTOLV[playerid] = 2;
SetPlayerCheckpoint(playerid, 1581.9318,1534.4133,10.8315, 5.0);
SendClientMessage(playerid, BLAU,"Deliver the passengers to LV!");
return 1;
}if(LSTOLV[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
LSTOLV[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got sth money!");
return 1;
}
if(Ammu1[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu1[playerid] = 2;
SetPlayerCheckpoint(playerid, 4053.9250,-147.2102,11.4713, 5.0);
SendClientMessage(playerid,BLAU,"Drive to Inustrial Island");
return 1;
}if(Ammu1[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu1[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got sth money!");
return 1;
}if(Ammu2[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu2[playerid] = 2;
SetPlayerCheckpoint(playerid, 2423.0188,1925.6471,6.0156, 5.0);
SendClientMessage(playerid,BLAU,"Drive to Constuction side 1");
return 1;
}if(Ammu2[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu2[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}if(Ammu3[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu3[playerid] = 2;
SetPlayerCheckpoint(playerid, -56.6427,119.9775,3.1172, 5.0);
SendClientMessage(playerid,BLAU,"Drive to Easter Board-Farm");
return 1;
}if(Ammu3[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu3[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}if(Ammu4[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu4[playerid] = 2;
SetPlayerCheckpoint(playerid, -1513.4344,2608.9175,55.8359, 5.0);
SendClientMessage(playerid,BLAU,"Drive to Ammushop Quelbrados");
return 1;
}if(Ammu4[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu4[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}if(Ammu5[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu5[playerid] = 2;
SetPlayerCheckpoint(playerid, -280.3616,2688.2798,62.6684, 5.0);
SendClientMessage(playerid,BLAU,"Drive to Las Paysadas");
return 1;
}if(Ammu5[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu5[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}if(Ammu6[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu6[playerid] = 2;
SetPlayerCheckpoint(playerid, 249.3386,1396.1968,10.5859, 5.0);
SendClientMessage(playerid,BLAU,"Drive to the company near Las Paysadas");
return 1;
}if(Ammu6[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu6[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}if(Ammu7[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu7[playerid] = 2;
SetPlayerCheckpoint(playerid, 238.5253,-44.6169,1.5781, 5.0);
SendClientMessage(playerid,BLAU,"Drive to blueberry supermarket");
return 1;
}if(Ammu7[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu7[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}
if(Ammu8[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu8[playerid] = 2;
SetPlayerCheckpoint(playerid, 1003.7125,-1356.2329,13.3246, 5.0);
SendClientMessage(playerid,BLAU,"Drive to the jim's wings!");
return 1;
}if(Ammu8[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu8[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}
if(Ammu9[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu9[playerid] = 2;
SetPlayerCheckpoint(playerid, 2437.7749,-2429.7834,13.6280, 5.0);
SendClientMessage(playerid,BLAU,"Drive to LS port!");
return 1;
}if(Ammu9[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu9[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}
}
und jetzt unter OnDialogResponse:
if(dialogid == 77)
{
if(response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid,2001,DIALOG_STYLE_LIST,"choose your job","Industrial Island\nConstruction site 1\nEasterBoard-farm\nAmmushop quelbrados\nLas Paysadas\nCompany near Las Paysadas\nBlueberry Supermarket\nJim's Wings\nLS port","ok","OK");
return 1;
}
else if(listitem == 1)
{
ShowPlayerDialog(playerid,2002,DIALOG_STYLE_LIST,"choose your job","Ammushop 1\nConstruction site 1\nEasterBoard-farm\nAmmushop quelbrados\nLas Paysadas\nCompany near Las Paysadas\nBlueberry Supermarket\nJim's Wings\nLS port","ok","OK");
return 1;
}
else if(listitem == 2)
{
ShowPlayerDialog(playerid,2003,DIALOG_STYLE_LIST,"choose your job","Ammushop 1\nIndustrial island\nEasterBoard-farm\nAmmushop quelbrados\nLas Paysadas\nCompany near Las Paysadas\nBlueberry Supermarket\nJim's Wings\nLS port","ok","OK");
return 1;
}
else if(listitem == 3)
{
ShowPlayerDialog(playerid,2004,DIALOG_STYLE_LIST,"choose your job","Ammushop 1\nIndustrial island\nConstruction site 1\nAmmushop quelbrados\nLas Paysadas\nCompany near Las Paysadas\nBlueberry Supermarket\nJim's Wings\nLS port","ok","OK");
return 1;
}
}
}
if(dialogid == 2001)
{
if(response)
{
if(listitem == 0)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
Ammu2[playerid] = 1;
SetPlayerCheckpoint(playerid,1363.5885,-1289.5168,13.5469,5.0);
SendClientMessage(playerid,BLAU,"Drive to Ammushop 1 ");
return 1;
}
else if(listitem == 1)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
Ammu2[playerid] = 1;
SetPlayerCheckpoint(playerid,1363.5885,-1289.5168,13.5469,5.0);
SendClientMessage(playerid,BLAU,"Drive to Ammushop 1 ");
return 1;
}
else if(listitem == 2)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
Ammu3[playerid] = 1;
SetPlayerCheckpoint(playerid,1363.5885,-1289.5168,13.5469,5.0);
SendClientMessage(playerid,BLAU,"Drive to Ammushop 1 ");
return 1;
}
else if(listitem == 3)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
Ammu4[playerid] = 1;
SetPlayerCheckpoint(playerid,1363.5885,-1289.5168,13.5469,5.0);
SendClientMessage(playerid,BLAU,"Drive to Ammushop 1 ");
return 1;
}
else if(listitem == 4)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
Ammu5[playerid] = 1;
SetPlayerCheckpoint(playerid,1363.5885,-1289.5168,13.5469,5.0);
SendClientMessage(playerid,BLAU,"Drive to Ammushop 1 ");
return 1;
}
else if(listitem == 5)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
Ammu6[playerid] = 1;
SetPlayerCheckpoint(playerid,1363.5885,-1289.5168,13.5469,5.0);
SendClientMessage(playerid,BLAU,"Drive to Ammushop 1 ");
return 1;
}
else if(listitem == 6)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
Ammu7[playerid] = 1;
SetPlayerCheckpoint(playerid,1363.5885,-1289.5168,13.5469,5.0);
SendClientMessage(playerid,BLAU,"Drive to Ammushop 1 ");
return 1;
}
else if(listitem == 7)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
Ammu8[playerid] = 1;
SetPlayerCheckpoint(playerid,1363.5885,-1289.5168,13.5469,5.0);
SendClientMessage(playerid,BLAU,"Drive to Ammushop 1 ");
return 1;
}
else if(listitem ==
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
Ammu9[playerid] = 1;
SetPlayerCheckpoint(playerid,1363.5885,-1289.5168,13.5469,5.0);
SendClientMessage(playerid,BLAU,"Drive to Ammushop 1 ");
return 1;}
}
}
if(dialogid == 2002)
{
if(response)
{
if(listitem == 0)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
insel1[playerid] = 1;
SetPlayerCheckpoint(playerid,4053.9250,-147.2102,11.4713,5.0);
SendClientMessage(playerid,BLAU,"Drive to Industrial");
return 1;
}
else if(listitem == 1)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
insel2[playerid] = 1;
SetPlayerCheckpoint(playerid,4053.9250,-147.2102,11.4713,5.0);
SendClientMessage(playerid,BLAU,"Drive to Industrial");
return 1;
}
else if(listitem == 2)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
insel3[playerid] = 1;
SetPlayerCheckpoint(playerid,4053.9250,-147.2102,11.4713,5.0);
SendClientMessage(playerid,BLAU,"Drive to Industrial");
return 1;
}
else if(listitem == 3)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
insel4[playerid] = 1;
SetPlayerCheckpoint(playerid,4053.9250,-147.2102,11.4713,5.0);
SendClientMessage(playerid,BLAU,"Drive to Industrial");
return 1;
}
else if(listitem == 4)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
insel5[playerid] = 1;
SetPlayerCheckpoint(playerid,4053.9250,-147.2102,11.4713,5.0);
SendClientMessage(playerid,BLAU,"Drive to Industrial");
return 1;
}
else if(listitem == 5)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
insel6[playerid] = 1;
SetPlayerCheckpoint(playerid,4053.9250,-147.2102,11.4713,5.0);
SendClientMessage(playerid,BLAU,"Drive to Industrial");
return 1;
}
else if(listitem == 6)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
insel7[playerid] = 1;
SetPlayerCheckpoint(playerid,4053.9250,-147.2102,11.4713,5.0);
SendClientMessage(playerid,BLAU,"Drive to Industrial");
return 1;
}
else if(listitem == 7)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
insel8[playerid] = 1;
SetPlayerCheckpoint(playerid,4053.9250,-147.2102,11.4713,5.0);
SendClientMessage(playerid,BLAU,"Drive to Industrial");
return 1;
}
else if(listitem ==
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
insel9[playerid] = 1;
SetPlayerCheckpoint(playerid,4053.9250,-147.2102,11.4713,5.0);
SendClientMessage(playerid,BLAU,"Drive to Industrial");
return 1;}
}
}
if(dialogid == 2003)
{
if(response)
{
if(listitem == 0)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
con1[playerid] = 1;
SetPlayerCheckpoint(playerid,2423.0188,1925.6471,6.0156,5.0);
SendClientMessage(playerid,BLAU,"Drive to Industrial");
return 1;
}
else if(listitem == 1)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
con2[playerid] = 1;
SetPlayerCheckpoint(playerid,2423.0188,1925.6471,6.0156,5.0);
SendClientMessage(playerid,BLAU,"Drive to Industrial");
return 1;
}
else if(listitem == 2)
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 515 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 578 &&
GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 455 )return SendClientMessage( playerid, 0xFFFFFFFF, "You Need to be in a Flatbed , Roadtrain or DFT30 to do this work!" );
con3[playerid] = 1;
SetPlayerCheckpoint(playerid,2423.0188,1925.6471,6.0156,5.0);
SendClientMessage(playerid,BLAU,"Drive to Industrial");
return 1;
}
else if(listitem == 3)
{
wenn ihr /work anders scriptet dann sagt vielleicht mal wie dann schonmal danke im vorraus
ich konnte nicht alles schicken weil es sonst zu viel wäre -
-
ich kapier deine timer garnicht warum sind da timer
-
soll ich dir ein register login system geben?
meins klppt einwandfrei -
probiers mal damit http://samp-wiki.eu/index.php/GetVehicleHealth
GetVehicleHealth(GetPlayerVehicleID(playerid),health);
-
wenn du ppc trucking kennst sollte es so sein wenn du nicht kennst dann erklär ich dier also
man soll /convoy machen und ein menu taucht auf
da steht dann ob man ein convoy erstellen kann oder beitreten kann
un wenn der owner des convoys /work macht dann soll bei allen die im convoy sind auch ein roter punkt entstehen und es müssen alle im roten punkt gewesen sein um geld zu bekommen
und wenn man im convoy ist bbekommst man mehr geld aslo +1spielre im convoy = mehr geld $
danke für die schnelle antwort:)keiner hat wirklich keiner eine antwort?
-
Hallo erstmal
ich suche ein filterscript für ein convoy system tutorial oder weiters ist auch ok.
Und ich will nach dazu sagen ich will kein PPC trucking gammode herunterladen.
Freue mich über jede antwort.
Und danke schonmal im vorraus.