[VnR] Clan Roleplay/Freeroam

[VnR] Clan Roleplay/Freeroam


 
HomeCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 I need help sin

View previous topic View next topic Go down 
AuthorMessage
[O]Tom

avatar

Posts : 28
Points : 39
Join date : 2010-11-24
Age : 22

PostSubject: I need help sin   Sun Dec 19, 2010 9:34 am

Ok i had the map done so i went to convert ffs and converted it. it sais it was converted now what do i do? Question
Back to top Go down
View user profile
[VnR]Sinister
Admin
avatar

Posts : 98
Points : 156
Join date : 2010-08-20

PostSubject: Re: I need help sin   Sun Dec 19, 2010 10:00 am

This is just an example, replace my CreateObject's with your own then place the place the gamemode file in the gamemode folder in the samp server directory. Then, change the gamemode on the server.cfg

Code:


#include <a_samp>

public OnGameModeInit()
{
    CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0);
    CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0);
    CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0);
    return 1;
}
Side Note, This script will do nothing. it is simply the base of how to add objects. you cannot spawn.
If you wanted something just to test your objects I would recommend making it a filterscript like so,
Code:

#include <a_samp>
main()
{
}

public OnFilterScriptInit()
{
    CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0);
    CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0);
    CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0);
    return 1;
}
Now instead of making it a gamemode keep the regular grand larceny script "the one that comes with the server package" and place the compiled amx and pwn file in the filterscript folder. Now edit the server.cfg so that your filterscripts line has the name of your amx file, This is case sensitive so make sure if you used caps to include them aswell.
Back to top Go down
View user profile http://vnrclan.darkbb.com
[O]Tom

avatar

Posts : 28
Points : 39
Join date : 2010-11-24
Age : 22

PostSubject: Re: I need help sin   Sun Dec 19, 2010 1:19 pm

Maybe I can just help you make things Very Happy and then send you the code
Back to top Go down
View user profile
[VnR]Sinister
Admin
avatar

Posts : 98
Points : 156
Join date : 2010-08-20

PostSubject: Re: I need help sin   Sun Dec 19, 2010 1:22 pm

Sure but send me MTA screens first so I can approve it.
Back to top Go down
View user profile http://vnrclan.darkbb.com
Nathan Stark



Posts : 10
Points : 12
Join date : 2011-01-14

PostSubject: Re: I need help sin   Sat Jan 15, 2011 2:03 pm

Can i help you too? im good with stunt maps for events jast give me a loaction u want me to make it so i dont make at same place as some one other made cause my luck aint floating yet.
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: I need help sin   

Back to top Go down
 
I need help sin
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
[VnR] Clan Roleplay/Freeroam :: General :: General Chat-
Jump to: