SA-MP Forums Archive
for Delphi guys - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: for Delphi guys (/showthread.php?tid=508360)



for Delphi guys - GreeF - 21.04.2014

Hi guys!
Need to request query from Delphi to SAMP, SAMPwiki have no example for delphi.
Gimme plz example
sorry for my english


Re: for Delphi guys - Leroytjuh - 21.04.2014

I would like to help you however I don't really get your question. Can you give me a specific explanation by replying or forum PM'ing me?


Re: for Delphi guys - Bingo - 21.04.2014

Uhm, Sorry to jump in.

Never heard about delphi XD time to learn.


Re: for Delphi guys - GreeF - 21.04.2014

Quote:
Originally Posted by Bingo
Посмотреть сообщение
Uhm, Sorry to jump in.

What is Delphi?
lol, srsly?
http://en.wikipedia.org/wiki/Embarcadero_Delphi
Read this xd


Re : for Delphi guys - Ramoboss - 21.04.2014

Delphi is a programing language,

like Pawn, C, Java, Python...etc

he want to send a request from Delphi to Pawn, like in HTML, we can send a request with Server IP to lunch samp, i'm not a Delphi Programmer, but, i'll do some research et keep you informed

EDIT : Try this :
PHP код:
ShellExecute(NULLL"open"L"C:/Program Files/Rockstar Games/GTA San Andreas/samp.exe"L"PUTYOURIPHERE"L"samp.exe"SW_SHOWNORMAL); 
i'm not sure, but that's what i found, it have to work


Re: for Delphi guys - GreeF - 24.04.2014

im written not working code tried to copy with C# query mechanism,but not understand him
Код:
var
sBuffer:  TBytes;
begin
SetLength(sBuffer,3);
   sBuffer[0]:=ord(127);
   sBuffer[1]:=ord(0);
   sBuffer[2]:=ord(7);
   sBuffer[3]:=ord(1);
begin
IdUDPServer1.SendBuffer('127.0.7.1',7777, sBuffer);
s:=  IdUDPServer1.ReceiveString(2048);
end;
 IdUDPServer1.Active := False;
no body wanna help me?