09.05.2010, 22:25
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:
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
Not Like This
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
Not Like This
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
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
The number of cars you are adding, add it to 268. So it will be
Okay Next Search IsAnOwnableCar Untill You Find :
As Again Turn The 268 Into 332
Like This :
Okay we are almost done.
Next Search for /rac
Untill you see :
As again turn the 268 to a 332 like :
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
I Will Regularly Add To This Topic, Hope This Helps The Newbie scripters.
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
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
Код:
2071.4695,-1784.6798,13.5550
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
Код:
-25.884498,-185.868988,1003.546875
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
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];
Код:
new CarInfo[332][cInfo];
Okay Next Search IsAnOwnableCar Untill You Find :
Код:
public IsAnOwnableCar(vehicleid) { if(vehicleid >= 184 && vehicleid <= 268) { return 1; } return 0; }
Like This :
Код:
public IsAnOwnableCar(vehicleid) { if(vehicleid >= 184 && vehicleid <= 332) { return 1; } return 0; }
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++)
Код:
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++)
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; }