Hello again. Please help. -
trapped1 - 29.11.2010
Hello and thank you for reading this.
1st.I wanted to know how to change respect points from 8 to 1 at first level and at 2nd you need to get 2 respect points to get a level 2? (I'm using godfather 1. I know another edit. But I'm not releasing I'm learning..)
2nd. How to delete all families and they cars....
3rd. How to make 3d chat modules. (know its in samp wiki I just need to see code how it's looks..)
Thank you for your time... I wish you a nice day / evening...
I was searching for every where..... about respect points..
Re: Hello again. Please help. -
SuperS82 - 29.11.2010
1. Respect from 8 to 1
pawn Код:
new levelexp = 4; //Find this line and change 4 to 1
2. Delete Families/Cars
pawn Код:
enum fInfo
{
FamilyTaken,
FamilyName[20],
FamilyMOTD[128],
FamilyColor[20],
FamilyLeader[MAX_PLAYER_NAME],
FamilyMembers,
Float:FamilySpawn[4],
FamilyInterior,
};
new FamilyInfo[10][fInfo]; //Families
pawn Код:
if(PlayerInfo[playerid][pFMember] != 255)
{
new family = PlayerInfo[playerid][pFMember];
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, FamilyInfo[family][FamilyInterior]);
SetPlayerPos(playerid, FamilyInfo[family][FamilySpawn][0],FamilyInfo[family][FamilySpawn][1],FamilyInfo[family][FamilySpawn][2]);
SetPlayerFacingAngle(playerid, FamilyInfo[family][FamilySpawn][3]);
return 1;
}//Family Spawns
pawn Код:
if(PlayerInfo[targetid][pFMember] < 255) { f2text = FamilyInfo[PlayerInfo[targetid][pFMember]][FamilyName]; } //Family Stats
pawn Код:
if(PlayerInfo[playerid][pFMember] < 255)
{
format(tmp2, sizeof(tmp2), "Family MOTD: %s.", FamilyInfo[PlayerInfo[playerid][pFMember]][FamilyMOTD]);
SendClientMessage(playerid, COLOR_YELLOW, tmp2);
} // Family MOTD
These can all be taken out if you dont want families. Then you have to take out LoadFamilies(), SaveFamilies(), and a few commands that also use family components. Its alot of work but can be done easily. Just CTRL+F and look for FamilyInfo and take out anything that isnt needed. As for the cars they are all under OnGameModeInit() section.
3. 3D Chat Modules
pawn Код:
public OnPlayerText(playerid, text[])
{
SetPlayerChatBubble(playerid, text, COLOR_WHITE, 100.0, 10000);
// Then the rest of the section goes below this
Re: Hello again. Please help. -
trapped1 - 29.11.2010
Thanks a lot mate

Thanks you really helped me out

+1 for you.
All worked excellent...
Re: Hello again. Please help. -
SuperS82 - 29.11.2010
Let me know if you have anymore questions. Godfather was one of the first scripts I messed around with years ago. Believe it or not, I actually learned exactly how it worked just from reading it over and over. Its quite a simple language to get the hang of that pawno code.
Re: Hello again. Please help. -
trapped1 - 29.11.2010
Now I think I get how it works too... It's not so hard at all.. Just first my edit and I think with time I will make my own script.... Thanks all for comments and I believe you will have good day/night.
Re: Hello again. Please help. -
NewYorkRP - 29.11.2010
Quote:
Originally Posted by SuperS82
Let me know if you have anymore questions. Godfather was one of the first scripts I messed around with years ago. Believe it or not, I actually learned exactly how it worked just from reading it over and over. Its quite a simple language to get the hang of that pawno code.
|
Yes, that is exactly how i started learning, from godfather, messing around with the code, and eventually knowing everything.
Thanks for helping, that guide you put was pretty accurate for a newbie!
Re: Hello again. Please help. -
trapped1 - 30.11.2010
Yeah it was really good tut. Godfather is good stuff but people use it too much... Thats why I think its so bad to players aye....