[TIPS] Useful info for Noobs Editing NLRP, LARP, GF, Ravens, ECT.
#1

Okay when i started PAWNO i started with a script like LARP.
At that time the LARP GM was kinda hard for me, but I'ts easy now.
I see people all the whining about lots of stuff,
So i have a few Pointers to help with the LARP GM,

First off all.
Need some extra businesses for you LARP GM ?

Here is how to do it.
Use this template i made:

Код:
0|The State|BUSINESS~NAME|No-one|EXT CORDS|INT CORDS|LEVEL|PRICE|0|0|1|INTERIOR|499|500|100|0
Business Name : Obvistly the name

Ext Coords : The Outside of the business, Can be found Here :
http://sampcoords.host22.com/coords.php
When Added to Bizz.CFG add Like This
Код:
2071.4695|-1784.6798|13.5550
Not Like This

Код:
2071.4695,-1784.6798,13.5550
Int Coords : This is the interior of the business,
No two business can have the same Int, these can be found Here:
http://weedarr.wikidot.com/interior
When Added To Bizz.CFG Add Like this

Код:
-25.884498|-185.868988|1003.546875
Not Like This

Код:
-25.884498,-185.868988,1003.546875
LEVEL : The Level The Player Needs To Buy The Business

Price : The Ammount The Business Will Cost

Interior : It is Vital that you get this right,
this will be next to you interior Coords which can be found here:
http://weedarr.wikidot.com/interior

An thats about it, thats how you make a business,

I made a business with the steps i gave

Код:
0|The State|24/7 Shop|No-one|2071.4695|-1784.6798|13.5550|-25.884498|-185.868988|1003.546875|3|250000|0|0|1|17|499|500|100|0
Now.. Often i see threads, how to add cars to the LARP GM
Say you want to add 64 New cars to the GM

First open up the GM press CTRL F And Search Car Info

You Will See This

Код:
new CarInfo[268][cInfo];
The number of cars you are adding, add it to 268. So it will be

Код:
new CarInfo[332][cInfo];

Okay Next Search IsAnOwnableCar Untill You Find :

Код:
public IsAnOwnableCar(vehicleid)
{
	if(vehicleid >= 184 && vehicleid <= 268) { return 1; }
	return 0;
}
As Again Turn The 268 Into 332
Like This :

Код:
public IsAnOwnableCar(vehicleid)
{
	if(vehicleid >= 184 && vehicleid <= 332) { return 1; }
	return 0;
}
Okay we are almost done.
Next Search for /rac
Untill you see :
Код:
			new bool:unwanted[CAR_AMOUNT];
			for(new player=0; player<MAX_PLAYERS; player++)
   		{
      	if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
   		}
			for(new car = 1; car <= 268; car++)
As again turn the 268 to a 332 like :

Код:
			new bool:unwanted[CAR_AMOUNT];
			for(new player=0; player<MAX_PLAYERS; player++)
   		{
      	if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
   		}
			for(new car = 1; car <= 332; car++)
This is to make the new cars respawn,

And thats how you add cars to a LARP GM,


Next is how to make a basic TP Command

Код:
  if(strcmp(cmdtext, "/goto") == 0)
  {
    SetPlayerPos(playerid, 2181.04, 2190.39, 103.45); //Coords Here.
    return 1;
  }
I Will Regularly Add To This Topic, Hope This Helps The Newbie scripters.
Reply
#2

I don't think the word "noobs" is a word to be called those who are new at scripting. It's disappointing to some.
Reply
#3

It may be disappointing, but it's true. They are newbies... Once they learn to script, people won't call them that anymore...
Reply
#4

Newbies aren't neccesarily noobs. You can still have C++ wizards being new to Pawn.
Reply
#5

Quote:
Originally Posted by Simon
Newbies aren't neccesarily noobs. You can still have C++ wizards being new to Pawn.
I doubt anyone who understands C++ wouldn't be able to catch up to Pawn quickly. :P
Reply
#6

Quote:
Originally Posted by Grim_
Quote:
Originally Posted by Simon
Newbies aren't neccesarily noobs. You can still have C++ wizards being new to Pawn.
I doubt anyone who understands C++ wouldn't be able to catch up to Pawn quickly. :P
Then my point has been made. They are still classified as new to Pawn, hence newbies, but they aren't neccesarily noobs
Reply
#7

nice useful
Reply
#8

Yeah, well its changed to newbies anyways
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)