[Tutorial] [HowTo]Create a Simple TDM/DM Script?
#1

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!
Reply
#2

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
Reply
#3

Does this somehow seem like a tutorial to you?
Reply
#4

huh i expalined him simple TDM server but without gTeam
Reply
#5

Quote:
Originally Posted by Alexy_Dramon
Посмотреть сообщение
huh i expalined him simple TDM server but without gTeam
But this should be a tutorial
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)