Making a Roleplay Gamemode
#4

Sure thing, bro.

I think you must start with saving systems, you need to learn either y_ini or mysql for proper saving systems. I would recommend mysql over y_ini for faster processing. After learning it, I would recommend you to go on with ShowPlayerDialogs and OnDialogResponses as RP servers most likely use too much dialogs to look better. Also you can go over formats such as

pawn Код:
public OnPlayerConnect(playerid)
{
new string[128];
GetPlayerName(playerid,string,sizeof(string));
format(string,sizeof(string),"%s has joined the server !",string);
SendClientMessageToAll(-1,string);
return 1;
}
This is very basic usage of format, string[128] means our text will be maximum 128 bit, GetPlayerName gets the player's name who connects and format formats our text. SendClientMessageToAll sends message to everybody who plays in your server, -1 is white as long as I remember.

That's all I can tell for now, feel free to PM me whenever you are stuck, good luck !
Reply


Messages In This Thread
Making a Roleplay Gamemode - by Triage - 10.06.2014, 14:30
Re: Making a Roleplay Gamemode - by Rufio - 10.06.2014, 14:55
Re: Making a Roleplay Gamemode - by Triage - 10.06.2014, 14:59
Re: Making a Roleplay Gamemode - by Rufio - 10.06.2014, 15:06
Re: Making a Roleplay Gamemode - by Triage - 10.06.2014, 15:08
Re: Making a Roleplay Gamemode - by Rufio - 10.06.2014, 15:10

Forum Jump:


Users browsing this thread: 1 Guest(s)