SA-MP Forums Archive
Hello Community :) - 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: Hello Community :) (/showthread.php?tid=148428)



Hello Community :) - MRArkham - 17.05.2010

Hey SA-MP forum!

I am a new SA-MP and wants to learn the script
What should I learn? Does anyone know any good tutorial

Thanks


Re: Hello Community :) - BigM - 17.05.2010

http://forum.sa-mp.com/index.php?topic=2750.0


Re: Hello Community :) - MRArkham - 17.05.2010

Oh sorry i was supposed to post this for my friend,
But thanks for helping him


Re: Hello Community :) - cAMo - 17.05.2010

Scripting ==

== BAD!


PS: https://sampwiki.blast.hk/wiki/Main_Page



Re: Hello Community :) - [HiC]TheKiller - 17.05.2010

Quote:
Originally Posted by cAMo
Ahh, nah. Anyway, a good way to learn how to script is to look at others scripts and shit.


Re: Hello Community :) - MRArkham - 17.05.2010

Ok. While this topic is here i was wondering if anyone could help me?

I have this dialog thats supposed to show when a player connects:
pawn Код:
public OnPlayerConnect(playerid)
{
  new fileLocation[128];
  format(fileLocation, sizeof fileLocation, "/Reg/%s.ini", GetName(playerid));
   
  if(!(dini_Exists(fileLocation)))
  {
    ShowPlayerDialog(playerid, regDialog, DIALOG_STYLE_INPUT, "Register a Account", "Welcome! \n\nYour account is NOT registered \nPlease register your account", "Register", "Quit");
  }
  return 1;
}
But i dont see a dialog when i connect?


Re: Hello Community :) - ViruZZzZ_ChiLLL - 17.05.2010

Personally I didn't learn anything at wiki.
It just helped me with the ID's and some
how to do this scripts. But, srsly I learned
by looking at scripts


Re: Hello Community :) - MRArkham - 17.05.2010

Quote:
Originally Posted by ViruZZzZ_ChiLLL
Personally I didn't learn anything at wiki.
It just helped me with the ID's and some
how to do this scripts. But, srsly I learned
by looking at scripts
Okay
Quote:
Originally Posted by Mr Arkham
Ok. While this topic is here i was wondering if anyone could help me?

I have this dialog thats supposed to show when a player connects:
pawn Код:
public OnPlayerConnect(playerid)
{
  new fileLocation[128];
  format(fileLocation, sizeof fileLocation, "/Reg/%s.ini", GetName(playerid));
   
  if(!(dini_Exists(fileLocation)))
  {
    ShowPlayerDialog(playerid, regDialog, DIALOG_STYLE_INPUT, "Register a Account", "Welcome! \n\nYour account is NOT registered \nPlease register your account", "Register", "Quit");
  }
  return 1;
}
But i dont see a dialog when i connect?



Re: Hello Community :) - BlackFoX - 17.05.2010

The best way to learn Pawn & the Basics of the Language :

http://compuphase.com/pawn/pawn.htm


Re: Hello Community :) - shady91 - 17.05.2010

I learned by reading and understanding how pawn works, wicth was mainly the wiki i was reading https://sampwiki.blast.hk/