[HowTo]Create a Simple TDM/DM Script? -
Derek_Westbrook - 15.03.2012
I need a help here.I wanted to learn more about scripting and now I'm new in scripting I need help at Creating a Simple TDM/DM Script.If you helped me I will Rep+ you.Thanks!
Re: [HowTo]Create a Simple TDM/DM Script? -
Alexy_Dramon - 15.03.2012
Hmm
Very Simple
Open your Pwno
Create your vehicles by
MTA or De bug
and just scripting your own Classes
Like this
//GROVE CLASS
Код:
AddPlayerClass(105,2526.2942,-1676.6444,19.9302,87.8721,24,200,0,0,0,0); // Grove Skin105
AddPlayerClass(106,2526.2942,-1676.6444,19.9302,87.8721,24,200,0,0,0,0); // Grove Skin106
AddPlayerClass(107,2526.2942,-1676.6444,19.9302,87.8721,24,200,0,0,0,0); // Grove Skin107
after this you should make Simple Connect Message Like this
Код:
public OnPlayerConnect(playerid)
[code] new PlayerName[MAX_PLAYER_NAME],
string[128];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
format(string, sizeof(string), "%s has Loggin.", PlayerName);
SendClientMessageToAll(0xFFFFFFFF, string);
SendClientMessage(playerid, yellow, "Welcome");CODE]
Ok now go down and Fine
Код:
public OnPlayerCommandText(playerid, cmdtext[])
Lets Make Health CMD for Admin that only Rcon Admin Can use
Код:
if (strcmp("/sethp", cmdtext, true, 10) == 0)
if(!IsPlayerAdmin(playerid))
SetPlayerHealth(playerid, 100);
Ok we Done Now lets Make Simple Help Sys for admin
Код:
if (strcmp("/help", cmdtext, true, 10) == 0)
if(!IsPlayerAdmin(playerid))
SendClientMessage(playerid, COLOR_RED, "your Commands /heal");
if need any other help please PM me
Re: [HowTo]Create a Simple TDM/DM Script? -
Max_Coldheart - 15.03.2012
Does this somehow seem like a tutorial to you?
Re: [HowTo]Create a Simple TDM/DM Script? -
Alexy_Dramon - 15.03.2012
huh i expalined him simple TDM server but without gTeam
Re: [HowTo]Create a Simple TDM/DM Script? -
Max_Coldheart - 15.03.2012
Quote:
Originally Posted by Alexy_Dramon
huh i expalined him simple TDM server but without gTeam 
|
But this should be a tutorial