Help with system
#1

}
COMMANDarasai(playerid,params[])
{
if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, RED, "* Jūs esate maљinoje!");
//if(AsJauKasu[playerid] == 1) return SendClientMessage(playerid, RED, "* Jūs jau kasate!");
if(!IsPlayerInRangeOfPoint(playerid,5,1914.4403,30 .8915,34.5450))
{
SendClientMessage(playerid, RED, "* Jūs ne prie statulos, ja galit rasti /gps!");
return 1;
}
new name[MAX_PLAYER_NAME], string[250];
format(string,240,"{EF0D0D}Paraљai prie statulos:\nIљ Viso yra %d\n\n{F7FFF7}Paskutiniai penki pasiraљe{20F00D}\n1.%s\n2.%s\n3.%s\n4.%s\n5.%s",na me);
ShowPlayerDialog(playerid, 5959, DIALOG_STYLE_MSGBOX, "{ffffff}Gyventoju paraљai", string, "Pasiraљyti", "Uћdaryti");
//GetPlayerName(playerid, name, MAX_PLAYER_NAME); //new name[MAX_PLAYER_NAME]
return 1;

And And I need to do that by pressing the button on the typed name of the player, and so on. To display the first five who shook
Reply
#2

It'd help a lot if you put PAWN tags around the text so it becomes like this.

pawn Код:
COMMAND:arasai(playerid,params[])
{
    if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, RED, "* Jūs esate mašinoje!");
    //if(AsJauKasu[playerid] == 1) return SendClientMessage(playerid, RED, "* Jūs jau kasate!");
    if(!IsPlayerInRangeOfPoint(playerid,5,1914.4403,30 .8915,34.5450))
    {
        SendClientMessage(playerid, RED, "* Jūs ne prie statulos, ja galit rasti /gps!");
        return 1;
    }
    new name[MAX_PLAYER_NAME], string[250];
    format(string,240,"{EF0D0D}Parašai prie statulos:\nIš Viso yra %d\n\n{F7FFF7}Paskutiniai penki pasiraše{20F00D}\n1.%s\n2.%s\n3.%s\n4.%s\n5.%s",na me);
    ShowPlayerDialog(playerid, 5959, DIALOG_STYLE_MSGBOX, "{ffffff}Gyventoju parašai", string, "Pasirašyti", "Uždaryti");
    //GetPlayerName(playerid, name, MAX_PLAYER_NAME); //new name[MAX_PLAYER_NAME]
    return 1;
}
And I didn't quite understand what you want help with.
Reply
#3

Same one ??
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)