was off topic so moved here
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 MenuQuote from: Fjose on Jan 29, 2015, 09:59 PMhmm... sk I have the last version uploaded by gudio, I don't have why then this function does not work, anyways can pass me your squirrel plugin :/m also using the plugins last uploaded by gudio
Quote from: Fjose on Jan 29, 2015, 03:12 PMGetWeaponAtSlot doesn't exist, I was trying with 'GetWeaponAtSlot(1)' after read all their posts. and stormeus when I was testing how work that function, I knew not to put (idk if this oration is written correctly xD) and use player.Weapon for check.Some Thing Must be Wrong on your End might be an old plugin or something try this
Quote from: Fjose on Jan 29, 2015, 03:12 PMAlso the number of slots begins from 1 to 8 or 0 to 7??0-8
Quote from: Fjose on Jan 29, 2015, 03:12 PMNote (OFF Topic): Why the coordinates of the cars are not same like in 0.3, I mean.. when I uses <Vehicle model="224" world="1" x="-842.2524" y="-909.7036" z="10.8677" angle="356.8192" col1="0" col2="0"/>, everything looks good but the coordinates are not taken how must be, maybe I can't use negative values? - In the image you can see the vehicle, eachMake Sure the Angle Is correct Angle Really Does Matter.
vehicle take that position, I mean, everything to the north.. http://oi60.tinypic.com/25polub.jpg
Quote from: ysc3839 on Jan 10, 2015, 05:26 AMThere is no text limit in SQLite. So you can replace VARCHAR(32) with TEXTi think there is when you make a column of length something like 10 you can,t insert more then 10 characters other wise query will be success full but it will not insert/update any thing on the databse.
Quote from: Honey on Dec 12, 2014, 06:18 PMTbh, I also saw gudio change his nick ingame in 0.4well changing nick is easy in 0.4
Quote from: Honey on Nov 23, 2014, 11:17 AMSyntax For Creating a TextDraw : CreateTextdraw("Title",Screen X Pos,Screen Y Pos,Color);yup you can create it like this but u need to make it visible for all or a specific person caze the server will make this textdraw but will not show it to any one.
u can use post it any where u want like onScriptload etc
title <- CreateTextdraw("My Server Title",100,200,0xFFE1FF00);
title.ShowForAll();
or for specific Person use
title.ShowForPlayer(player);
and for colours the last one i posted is 0xFFE1FF00Quote from: MatheuS on Nov 20, 2014, 08:28 PMhttp://forum.vc-mp.org/?topic=113.0yup please show us what error from console.....
else if ( cmd == "setlevel" )
{
if ( !text ) ePrivMessage( "Syntax, /c " + cmd + " <Nick/ID> <Level> ", player );
else
{
local plr = FindPlayer( 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='" + plr.Name.tolower() + "'");
}
}
}
}
try editing and then tryelse if ( cmd == "setlevel" )
{
if ( !text ) ePrivMessage( "Syntax, /c " + cmd + " <Nick/ID> <Level> ", player );
else
{
local plr = FindPlayer( 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='" + plr.Name.tolower() + "'");
}
}
}
}