Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - burpy

#1
General Discussion / Re: a little problem
Mar 29, 2018, 12:31 PM
sorry for answering late, had to study
then what is the problem? what should i do? i have vps and i wanted to make the server on it but this problem is annoying me so much
#2
General Discussion / Re: a little problem
Mar 19, 2018, 06:32 AM
@umar can u just type the command in the code i typed and i paste it ? :D its better i think :P
#3
General Discussion / Re: a little problem
Mar 14, 2018, 02:12 AM
yea sorry i always forget code option :P
#4
General Discussion / Re: a little problem
Mar 13, 2018, 12:40 PM
here is function onplayerCommand on my main.nut
function onPlayerCommand( player, cmd, text )
{
   if(cmd == "heal")
   {
      local hp = player.Health;
      if(hp == 100) Message("[#FF3636]Error - [#8181FF]Use this command when you have less than 100% hp !");
      else {
         player.Health = 100.0;
         MessagePlayer( "[#FFFF81]---> You have been healed !", player );
      }
   }
   
   else if(cmd == "goto") {
      if(!text) MessagePlayer( "Error - Correct syntax - /goto <Name/ID>' !",player );
      else {
         local plr = FindPlayer(text);
         if(!plr) MessagePlayer( "Error - Unknown player !",player);
         else {
            player.Pos = plr.Pos;
            MessagePlayer( "[ /" + cmd + " ] " + player.Name + " was sent to " + plr.Name, player );
         }
      }
      
   }
   else if(cmd == "bring") {
      if(!text) MessagePlayer( "Error - Correct syntax - /bring <Name/ID>' !",player );
      else {
         local plr = FindPlayer(text);
         if(!plr) MessagePlayer( "Error - Unknown player !",player);
         else {
            plr.Pos = player.Pos;
            MessagePlayer( "[ /" + cmd + " ] " + plr.Name + " was sent to " + player.Name, player );
         }
      }
   }
   
   else if(cmd == "exec")
   {
      if( !text ) MessagePlayer( "Error - Syntax: /exec <Squirrel code>", player);
      else
      {
         try
         {
            local script = compilestring( text );
            script();
         }
         catch(e) MessagePlayer( "Error: " + e, player);
      }
   }
   return 1;       
}
#5
General Discussion / Re: a little problem
Mar 11, 2018, 12:49 PM
@umar
so yeah i tried to remove all skins from the server.confg and put it on main.nut
and the colors worked. but, when i put the message of pos that u told me about to know the x, y and z axis and angle
it gives me an error when i open the server it says:
[MODULE]  Loaded SqVCMP 0.4 frontend by Stormeus. (v1.0)
scripts/main.nut line = (126) column = (13) : error expression expected
[WARNING] Could not load script 'scripts/main.nut'
[WARNING] expression expected
[ERROR]   No Squirrel gamemode was specified.
[MODULE]  Loaded server.conf Loader for 0.4 by Stormeus
[MODULE]     >> Loaded server.conf for parsing
[MODULE]     >> Applied settings
[MODULE]     >> Loaded classes
[WARNING] Please define a world for your vehicle. (See docs)
[MODULE]     >> Loaded vehicles
[MODULE]     >> Loaded pickups
[MODULE]  Loaded server.conf successfully

so when i join the server i see all of the skins are removed but i still see 1 skin (the normal gta player who i dont know his name tbh xd but he is the player of gta single player) in the police station place with an orange colour team which i didn't edit it like this.
so idk, colours worked but i still dont know how to know the x, y and z axis and angle.
but thx for fixing colours problem, and if u know how to help me in the axis and angle then i will try it and tell you fast. thx! ^^
#6
General Discussion / Re: a little problem
Mar 10, 2018, 05:19 AM
@thx ali
@umar yo bro, sure i still remember you very well :D
thanks for all what did u say, first of all how can you even know the x, y and z of a place like "BANK"
for example i want to put to put police team in the "police office" but i dont know the "police office" w, y and z
so i can't put my police team into the place that i want, do u understand me ? :D
if there is a way to know the x, y and z of all places like bank and police office then i really need to know it from you ^_^.
second tbh i don't know if when i made your way to put colors to the teams worked or not as i don't have somebody to
test it for me by joining the server so i see his name color, but u told me way to make RED team color, but i dont know how
to make GREEN team color, for me i changed the "255" number from first the first "," sign to the second "," sign but i still
don't know if that gonna work or not, so if im right then you can say you are right and if im not then please tell me the correct
way as i don't understand anything here :P thx again <3
OH BTW, if i made police team color as red color will their phrases on the chat color be red as their team color ?
thx again bro and also thx for answering ^^
#7
General Discussion / a little problem
Mar 08, 2018, 01:09 PM
hello guys, i dont wanna spam or anything, actually im new in this community
and i think i liked it from the first time i saw it from (was yesterday).
so, i wanted to play this game again after i left it since 4 years ago by mistake, and i couldn't
find the original game of vice city to put the mp on it but it worked yesterday so i made a server
and i have a problem with it.
actually im sorry that i didn't understand the search of this site because i don't understand much
in the servers and scripting so i tried to make teams, so i made the classes with teams lik 1, 2, 3 etc
and i though that it will be teams which their players can't shot themselves but i can shot player in my team
i want to make them friendly (they can't kill themselves)
also i want to know how to change the spawn of skins of the teams and spawn them in the place that i like.
and last thing i want to know how to make for every team a color like RED, GREEN, etc.
and sorry if i'm stupid, that's because i'm new! thanks in advance <3