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 - MatheuS

#451
Quote from: sseebbyy on Nov 23, 2014, 09:52 PMI just tested it again. Works fine for me. :/

Works for me :)
#452
function OnScriptLoad()
{
CreateRadioStream( 15, "Sertanejo", "http://64.15.147.221:9026/listen.pls", 1 );
}

Using:

player.Vehicle.Radio = 15;
why 15?

normal number of radios gta vice city is 14, how I want to create a new put the number above the existing radios.

Thank's all. Topic Locked!
#453
Quote from: stormeus on Nov 22, 2014, 10:03 PMWhy are you setting a vehicle to a radio stream?

You're looking for player.Vehicle.Radio = CreateRadioStream...

Not Working...
#454
else if ( cmd == "radio" )
{
player.Vehicle = CreateRadioStream( "Sertanejo", "http://64.15.147.221:9026", true );
}

#456
Because when I use the announce function does not work? ??? ???
#457
Hehe, Nice job Seby! ;D
#458
Quote from: ali_vcmp on Nov 20, 2014, 08:32 PMi type /setlevel ali 10 Server Send ME admin change ali_vcmp level 10 and i type level its not change my level :/ 

So the error is here:

QuerySQL(database,"UPDATE registration SET account_level='" + lvl + "' WHERE user='" + player.Name.tolower() + "'");
#460
else if ( cmd == "setlevel" )
   {
   if ( !text ) ePrivMessage( "Syntax, /c " + cmd + " <Nick/ID> <Level> ", player );
   local plr = GetPlayer( GetTok( text, " ", 1 ) );
   if ( !plr ) PrivMessage( player, "Unknown Player.." );
   else
   {
      local lvl = GetTok( text, " ", 2);
      if (!IsNum(lvl)) ePrivMessage("Level Must Be In Numbers..",player);
      else
      {
      ePrivMessage(" Admin " + player.Name + " Set Level To " + plr.Name + ", Level: " + lvl + ".",player);
      QuerySQL(database,"UPDATE registration SET account_level='" + lvl + "' WHERE user='" + player.Name.tolower() + "'");
      }
   }
   }

try.
#461
Quote from: ali_vcmp on Nov 20, 2014, 06:43 PMI Make This Setlevel cmd and i set any player level /setlevel ali 10 is doesnt Work :/ I Was Tried
else if ( cmd == "setlevel" )
{
if ( !text ) ePrivMessage( "Syntax, /c " + cmd + " <Nick/ID> <Level> ", player );
local plr = GetPlayer( GetTok( text, " ", 1 ) );
if ( !plr ) PrivMessage( "Unknown Player..", player );
else
{
   local lvl = GetTok( text, " ", 2);
   if (!IsNum(lvl)) ePrivMessage("Level Must Be In Numbers..",player);
   else
   {
   ePrivMessage(" Admin " + player.Name + " Set Level To " + plr.Name + ", Level: " + lvl + ".",player);
   QuerySQL(database,"UPDATE registration SET account_level='" + lvl + "' WHERE user='" + player.Name.tolower() + "'");
   }
}
}

ePrivMessage // you have this function in the script?


PrivMessage( "Unknown Player..", player );
  // this wrong
PrivMessage( player, "Hey you, have fun here!");  // certain function

Look here!
#462
I'm using sprites, but my resolution and larger than the other player, but for me it is usual for him is bad, somebody knows how to solve?
#463
How to disable /kill? has the?
#464
Thank's, Topic Locked