again plzz help plz
#1

plz help me in scripting i also saw that scripting tutorials and etc.. can someone teach me
Reply
#2

To be quite honest, download a basic GM in the Gamemode section of the forums - examine and look through all the code and just attempt to learn yourself, no one is going to put in the time to teach someone they don't know how to script, when coding in PAWN (for a beginner) isn't exactly easy to learn. I'd suggest you keep reading through the scripting tutorials, download a GM and just try and learn yourself, that's how I done it. Maybe that's how quite a few other scripters learned too, by therselves.
Reply
#3

i did that like LVDM i edited that only thing is that i need to learn how to make commands
Reply
#4

anyway thnx
Reply
#5

Yea No One is Going To Teach You ,
Yu need to do By Your Own
Reply
#6

can anyone tell me how to make commands no need to teach?
Reply
#7

Use Zcmd. It's very simple and easy to use. Perfect for beginner scripters.
Reply
#8

can u tell how to use it like
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new vehicleid;
    dcmd(heal ,4, cmdtext);
    return 0;
}

dcmd_heal(playerid, params[])
{
    #pragma unused params
    SetPlayerHealth(playerid,100.0);
    return 1;
}
Reply
#9

Quote:
Originally Posted by newbie scripter
Посмотреть сообщение
can u tell how to use it like
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new vehicleid;
    dcmd(heal ,4, cmdtext);
    return 0;
}

dcmd_heal(playerid, params[])
{
    #pragma unused params
    SetPlayerHealth(playerid,100.0);
    return 1;
}
dcmd(heal,4,cmdtext)
here heal is the command
4 is the length of Digits i.e. command length if u do a command like ban its length will be 3
add that part in OnPlayerCommandText

now.
// here dcmd_heal is the function for command player id = player how use command , params are optional parametes
which are used in commands like /ban pPlayerID it will ban another Player i.e. pPlayerID entered in command

dcmd_heal(playerid , params[])
{
// command code goes here
}
Reply
#10

Quote:
Originally Posted by Niko_boy
Посмотреть сообщение
dcmd(heal,4,cmdtext)
here heal is the command
4 is the length of Digits i.e. command length if u do a command like ban its length will be 3
add that part in OnPlayerCommandText

now.
// here dcmd_heal is the function for command player id = player how use command , params are optional parametes
which are used in commands like /ban pPlayerID it will ban another Player i.e. pPlayerID entered in command

dcmd_heal(playerid , params[])
{
// command code goes here
}
It's called string length, not length of the digits.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)