Server. I Really Need Help
#1

On a trucking server that has the list when you type /rescue

Who to make a new 1 and put it on that list?

Someone pls help me

If this is in the wrong section please tell me where to put it.
Reply
#2

Me to i've wondering how to do that. NICE YOU HAVE THE SAMP IP signature as me.

ANY BODY PLEASE TELL US
Reply
#3

Give me your command /rescue and respond of that dialog
Reply
#4

I could find that on pawn or in my include?

I THINK IS THIS :
Код:
// Process the rescue dialog
Dialog_Rescue(playerid, response, listitem)
{
	// Just close the dialog if the player clicked "Cancel"
	if(!response) return 1;

	// Check the class of the player
	switch (APlayerData[playerid][PlayerClass])
	{
		case ClassTruckDriver:
		{
			// Set the spawn coordinates based on the selection in the list
			switch (listitem)
			{
				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);
			}
Reply
#5

Go to your script and press CTRL + F
Then write " /rescue " or " cmd:rescue " or just " rescue " and you will find the command.
Then copy all of that and put here like this
pawn Код:
your code;
blah blah;
Reply
#6

pawn Код:
case 8: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), x, y, z, angle, 0, 0, 0, 0, 0, 0); // put that after case 7
Now give me your /rescue command, this is only on dialog response
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)