pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#include ZCMD
#define MAX_DIALOGS (15)
#if defined FILTERSCRIPT
#endif
CMD:T(playerid,params[]) {
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Teleports", "Change it", "Change it", "Change it");
return 1; }
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1)
{
if(!response) return SendClientMessage(playerid, 0xFFFFFFFF, "Change it");
if(response == 1)
{
if(listitem == 0)
{
SendClientMessage(playerid, 0xFFFFFFFF, "Change it");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 2510.4558,-1666.1368,13.5713);
SetVehiclePos(playerid, 2510.4558,-1666.1368,13.5713);
if(listitem == 1)
{ // Language fucks it, change it)
SendClientMessage(playerid, 0xFFFFFFFF, "Change it");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 2024.3464,1342.8766,10.8203);
SetVehiclePos(playerid, 2024.3464,1342.8766,10.8203);
if(listitem == 2)
{ // Language fucks it, change it)
SendClientMessage(playerid, 0xFFFFFFFF, "Change it");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, -2131.6016,926.5200,80);
SetVehiclePos(playerid, -2131.6016,926.5200,80);
}
}
}
}
}
return 1;
}
The language is being bugged over pawno, do not use that language, just use english.