SA-MP Forums Archive
help !!! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help !!! (/showthread.php?tid=152326)



help !!! - billiout - 03.06.2010

i want to make a dialog to select the rcons cmds but i dont know the code of the rcon cmds. i mean how can import the rcon cmds on a dialog box. sry for bad english.

pls help!!!


Re: help !!! - (SF)Noobanatior - 03.06.2010

SendRconCommand("ban");


Re: help !!! - billiout - 03.06.2010

but if for example want the loadfs command how can i make the input dialog right?


Re: help !!! - (SF)Noobanatior - 03.06.2010


pawn Код:
stock aloadfs(str[]){
  new str2[128];
  format(str2,sizeof(str2),"loadfs %s",str);
  SendRconCommand(str2);
}
so just got aloadfs("name of fs");


Re: help !!! - billiout - 03.06.2010

sry because litle noob on script how to use this on dialog response?


Re: help !!! - (SF)Noobanatior - 03.06.2010

put at bottom of script
pawn Код:
stock aloadfs(str[]){
  new str2[128];
  format(str2,sizeof(str2),"loadfs %s",str);
  SendRconCommand(str2);
}
then just call
aloadfs("name of fs"); //from your dialog responce code


Re: help !!! - billiout - 04.06.2010

pls help i want to make a dialog that you can select the cmds and want an example of loadfs command i mean the dialog pop up i select loadfs and then it send another input dialog to enter the fs!


pls help me!!!!!!


Re: help !!! - billiout - 05.06.2010

<BUMP> pls help me!!!


Re: help !!! - w00tNew - 05.06.2010

learn to script man we can help what u have made u cant make it so we have to make it for u


Re: help !!! - Flashy - 05.06.2010

"You are a bit noob at scripting" you said?
So well, donґt post here unless you donґt know exactly what to do.
In your case your a a new scripter and you donґt read the basics/vallbacks/functions.
Take a little time and learn to script when youw ant to make your own things.