I was wondering if someone could show me how to declare players in my script or is there any tutorials on how to do it, then my script will be finished.
Cheers Tomo
I was wondering if someone could show me how to declare players in my script or is there any tutorials on how to do it, then my script will be finished.
Cheers Tomo
~Tom~
http://www.youtube.com/user/YoHoJoSRL
Good scripting guides on youtube
Formerly known as (djcheater)
I meant learning how to create a declare players, not how to set one. DjCheater could you help me via msn?
~Tom~
SCAR Code:procedure DeclarePlayers;
begin
HowManyPlayers := 1; // Just makes [1]* easier
CurrentPlayer := 0; // Sets the current player to 1. Meaning it'll be the first to login
NumberOfPlayers(HowManyPlayers); // Sets the number of players to HowManyPlayers ([1]*)
Players[0].Name := ''; // First players username
Players[0].Pass := ''; // First players password
Players[0].Nick := ''; // 3-5 characters of first players username
Players[0].Active := True; // Is this player active?
end;
Copy and pate 66 into the top of your script. Then Wulluah.
Originally Posted by irc
66? Wtf are you talking about 66?
SCAR Code:procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := 'Username'; // Account name
Players[0].Pass := 'Password';// User password
Players[0].Nick := 'Nick';//3 letters in username, not the first letter
Players[0].Active := True;
end;
The nick just has to be 3-5 consecutive letters.
I believe it can be the first letter, as long as you capitalize it in the nick.
There are currently 1 users browsing this thread. (0 members and 1 guests)