27.01.2015, 13:41
}
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
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