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

#46
was off topic so moved here
#47
Quote 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
https://bitbucket.org/stormeus/0.4-squirrel/downloads
#48
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
http://pastebin.com/5RKQbhgg
Tested = http://s20.postimg.org/eyo829onf/screenshot_54.png
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, each
vehicle take that  position, I mean, everything to the north.. http://oi60.tinypic.com/25polub.jpg
Make Sure the Angle Is correct Angle Really Does Matter.
#49
General Discussion / Re: help with my server
Jan 28, 2015, 04:42 PM
i think he meant sub-net ban and anti-spam
#50
Quote from: ysc3839 on Jan 10, 2015, 05:26 AMThere is no text limit in SQLite. So you can replace VARCHAR(32) with TEXT
i 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.
Source : Experience.
#51
using switch / case is better the using sooooo many if statements just sayin
#54
Quote from: Honey on Dec 12, 2014, 06:18 PMTbh, I also saw gudio change his nick ingame :) in  0.4
well changing nick is easy in 0.4
nicks are not read-only so you can change them into what ever you want during the game session.
and the question is not about changing the nick >.< its about using spaces in name
#55
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.
for example
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 0xFFE1FF00
in a format 0xRRBBGG00
so all you need to do is replace this RRBBGG with hex colour which u can find on google very easily well i use these pdf files
Clicky
and another file
Clicky part 2
Note: Don,t Use # just post the next Hex codes
Good Luck

#56
good news but next time please try the correct values cause the mistake was your own and to be on the safe side use some permissions because any one who joins the server can use this command to some one who is registered in database and set his level to what ever he wants.
Take care.
#57
can,t help without console error picture or something
#58
Quote from: MatheuS on Nov 20, 2014, 08:28 PMhttp://forum.vc-mp.org/?topic=113.0
yup please show us what error from console.....
(yar koi tasweer ly kr error ki upload kro or humain dikhao) to eng -> (bro please upload the picture of the error and show us..)
#59
ok i edited the line
WHERE user='"+player.Name.tolower()+"' into WHERE user='"+plr.Name.tolower()+"'
new code
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 try
and if you could show me/us some console error? i might help even further
#60
try this and let me know
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() + "'");
}
}
}
}