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 - Street Killer

#1
Snippet Showroom / Re: Team System v1.0.2
Jun 26, 2015, 05:33 PM
Sorry For Bumping ... :(

Today I Test It This Snippet On The Blank Script And It's Work Fine But I have Seen The Problem With The Cmd...
For Example:- Player1 want To Team With Player2 ... And Player1 Type: /team player2 ... Then Turn player2 Can Accept, Deny And Leave... But Player1 Can Also Do It... Why!! No-Error On Console
#2
@Doom_Killer Thnks Now It's Working Fine... :)
#3
Hello!!

I Make A Msg System For World 2 And It's Working Fine But It's Give Me A Error... :(
He Say --> The Index 'World' Does Not Exist ??

Here Is The System....
function eMessage(text)
{
for( local plr, i = 0; i <= g__WorldLimits[2]; i++ )
{
plr = FindPlayer(i);
if(plr.World==2) //<-- This Line Give Error... :(
{
MessagePlayer(""+text+"",plr);
}
}
}
#4
Thnks @S.L.C Now It's Working Fine :)
#5
@S.L.C I Had To Try This But It's Not Working!! He Say (0/10) Only... Nothing InCrease... I'm Using Seby's Custem Menu
#6
Sorry For Late Reply S.L.C How To Count Them In A List I Set The Limit MaxPlayers 10... I Want To Count MaxPlayers
Like:- (0/10) And One Player Join Them He Say (1/10)...
#7
Thnks @Stormeus Sir!! And @S.L.C !! :-)
#8
I Need Some Help About SetMaxPlayer In Worlds... How To Set MaxPlayers In Different World??
Like World 1 MaxPlayers 50 World 2 MaxPlayers 35... :'(
#9
Sorry For Bumping!! I Have A Problem With This Function... I Use This Tuning System In Blank Script And It's Work Perfectly!! But I Use This In Feature Script Of ADM Then It's Not Working!! Why Please Tell...
#10
Try To Use This...

Quoteelse if ( cmd == "shareprop" )
{
local id = player.ID
if ( !player.IsSpawned ) MessagePlayer( RED+"** >> Error: "+ORANGE+"First Spawned And Then Use It.", player );
else if ( !text ) {
MessagePlayer(ORANGE+"Usage: /" + cmd + " [Prop/ID] [Nick/ID]", player );
return;
}
else if ( NumTok( text, " " ) < 2 ) MessagePlayer(ORANGE+"Usage: /" + cmd + " [Prop/ID] [Nick/ID]", player );
else if ( !IsNum( GetTok( text, " ", 1 ) ) ) MessagePlayer(RED+"** >> Error: "+ORANGE+"Prop/ID Must Be In Number.", player );
else {
local q = QuerySQL(sqliteDB, "SELECT * FROM Props WHERE rowid LIKE '" + GetTok( text, " ", 1 ).tointeger() + "'" );
if ( !PropExists( GetTok( text, " ", 1 ).tointeger() ) ) MessagePlayer(RED+"** >> Error: "+ORANGE+"Invalid Prop/ID.", player );
else if ( GetSQLColumnData( q, 2 ) != player.Name ) MessagePlayer(RED+"** >> Error: "+ORANGE+"You Don't Own This Property.", player );
else {
local plr = GetPlayer( GetTok( text, " ", 2 ) );
if ( !plr ) MessagePlayer(RED+"** >> Error: "+ORANGE+"Invalid Player.", player );
else {
QuerySQL(sqliteDB, "UPDATE Props SET Shared='" + plr.Name + "' WHERE rowid='" + GetTok( text, " ", 1 ) + "'" );
MessagePlayer(YELLOW+"** >> You Shared Your Prop:[ "+GetSQLColumnData( q, 0 )+" ] With:[ "+plr.Name+" ].", player );
MessagePlayer(GREEN+"Player:[ "+player.Name+" ] Shared Prop/ID:[ "+GetTok( text, " ", 1 )+" ] With You.", plr );
}
}
}
}