Hello Community :)
#1

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
Reply
#2

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

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

Scripting ==

== BAD!


PS: https://sampwiki.blast.hk/wiki/Main_Page
Reply
#5

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

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?
Reply
#7

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
Reply
#8

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?
Reply
#9

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

http://compuphase.com/pawn/pawn.htm
Reply
#10

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


Forum Jump:


Users browsing this thread: 2 Guest(s)