Dialogs help me
#1

hey guys i need help i am using ppc trucking and i want to know how to add a new rescue for trucking and all of them i try and i have no error but when i go ig and i type /rescue it shows but it does not show the new ones i put in someone help me
Reply
#2

someone plz help me
Reply
#3

Show us the code.
Reply
#4

i dont get errors
Reply
#5

case 0: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -525.0, -502.0, 26.0, 0.0, 0, 0, 0, 0, 0, 0);
case 1: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -74.7, -1137.5, 4.5, 0.0, 0, 0, 0, 0, 0, 0);
case 2: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1457.0, 975.5, 11.0, 0.0, 0, 0, 0, 0, 0, 0);
case 3: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -2136.0, -247.5, 36.5, 270.0, 0, 0, 0, 0, 0, 0);
case 4: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1766.5, -2040.7, 14.0, 270.0, 0, 0, 0, 0, 0, 0);
case 5: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -546.0, 2594.0, 54.0, 270.0, 0, 0, 0, 0, 0, 0);
case 6: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 332.0, 900.0, 25.0, 205.0, 0, 0, 0, 0, 0, 0);
case 7: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -1575.0, -2724.0, 49.0, 146.0, 0, 0, 0, 0, 0, 0);
case 8: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 3175.4, 2.1, 21.0, 257.0, 0, 0, 0, 0, 0, 0);
new ASpawnLocationsTrucker[][TSpawnLocation] =
{
{-525.0, -502.0, 26.0, 0.0}, // Fallen Tree Depot
{-74.7, -1137.5, 4.5, 0.0}, // Flint Trucking Depot
{1457.0, 975.5, 11.0, 0.0}, // LVA Freight Depot
{-2136.0, -247.5, 36.5, 270.0}, // Doherty Depot
{1766.5, -2040.7, 14.0, 270.0}, // El Corona Depot
{-546.0, 2594.0, 54.0, 270.0}, // Las Payasdas Depot
{332.0, 900.0, 25.0, 205.0}, // Quarry Top
{3175.4, 2.1, 21.0, 257.0}, // Forders Depot
{-1575.0, -2724.0, 49.0, 146.0} // Shady Creek Depot
forders depot is not showing up in my rescue in my server
Reply
#6

Quote:

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(response)
{
switch(dialogid)
{
case 1:// Our dialog!
{
switch(listitem)
{
case 0:
{
if(GetPlayerMoney(playerid) < 1) return SendClientMessage(playerid, 0xFFFFFF, "You don't have $200 for a beer bottle faggot!");
GivePlayerMoney(playerid, -1);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_SPRUNK);
}
case 1: // The second item listed
{
if(GetPlayerMoney(playerid) < 2) return SendClientMessage(playerid, 0xFFFFFF, "You don't have enough cash.");
GivePlayerMoney(playerid, -2);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER);
}
case 2: // The third item listed
{
if(GetPlayerMoney(playerid) < 3) return SendClientMessage(playerid, 0xFFFFFF, "You don't have enough cash");
GivePlayerMoney(playerid, -3);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_WINE);
}
}
}
}
}
return 1;
}

Fill this out with your "rescue" teleportion as you stated..
Reply
#7

man that did not work and i read it and i am running a trucking server not a faggot server but nice try lol
Reply
#8

I'm not even sure what you're trying to say here!
Reply
#9

i want to add forders depot in my server in my trucking rescue but it wont work
when i save the file and everything i get no errors but when i go ig and i type /rescue when i am a trucking you will see all the depot beside forders depot
Reply
#10

someone plz help me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)