• Welcome to Vice City Multiplayer.
 
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 - yazeen

#46
You Must Pay electricity bill more than 24/7 hostin
#47
VC:MP Clans / Re: Freedom Fighter [FF] Clan
April 19, 2011, 05:42:59 AM
i have a asuggestion use Simple machine forum will be good  8)
#48
Quote from: Fuzzy168 on April 19, 2011, 05:39:17 AM
Quote from: yazeen on April 19, 2011, 05:37:51 AM
Buy a Host xD! Pay CASH $$$

Is there a host which is freE???
actually nope!
#49
Buy a Host xD! Pay CASH $$$
#50
VC:MP Clans / Re: VC:MP clans
April 19, 2011, 05:36:58 AM
Quote from: blackmagic797 on April 18, 2011, 05:55:15 PM
Quote from: yazeen on April 18, 2011, 04:54:32 AM
Quote from: blackmagic797 on April 17, 2011, 12:24:01 PM
GANG UKF
Country: INTERNATIONAL
Leader(s): BLACKMAgiC
Co. leader(s): KRRISH
Clan tag: [UKF]
Homepage: http://ukfgang.forumotion.in/
Clan server: UNDER CONSTRUCTION
IRC channel: N/A
Other info:ENGLISH IS THE ONLY LANGUAGE ALLOWED, NO CHEATING, SPAMMING OR ABUSING. WELL MANNERED PLAYERS WILL BE APPRECIATED
UKf=UNIVERSAL.KILLERS.FEDERATION

Are u From Kerala/Delhi or .... ? :D

Kerala ;) Trivandrum to be exact

Nic njan eranakulamthil nena hi SHarks vs mario serveril varumo? njan oru server vanakil e claninuvandi script chayam
Today a 3:00 pm meet at Sharks vs mario server!
#51
mIRC/pawn Scripting / Re: Help !Top
April 19, 2011, 05:34:16 AM
Quote from: stormeus on April 18, 2011, 08:58:40 PM
All users overall
(warning: this will become more resource intensive as more users sign up)

Put this code in OnPlayerCommandText():

// Show the best players overall
else if(strcmp(cmd, "topoverall", true) == 0)
{
// Declare some variables that we'll need
new topUser1[2][128],
topUser2[2][128],
topUser3[2][128],
userFile[64],
Float:deaths,
Float:kills,
Float:ratio,
sRatio[10],
nick[128],
i,
j;

// Set the default ratios for our top users
topUser1[1] = "0.00";
topUser2[1] = "0.00";
topUser3[1] = "0.00";

// Get the total number of known users.
j = dini_Int("/AllUsers.ini", "Index");

// Iterate through all known users
for(i = 1; i < j + 1; i++)
{
// Get this person's nickname.
nick = dini_Get("/AllUsers.ini", IntToStr(i));

// Find this user's file.
format
(
// String formatting
userFile,
sizeof(userFile),
"/Users/%s.ini",

// Variables, respectively
nick
);

// Get their kills and deaths.
kills  = dini_Int(userFile, "Kills");
deaths = dini_Int(userFile, "Deaths");

// Now find their K/D ratio.
ratio = floatdiv(kills, deaths);

// Is this ratio better than the current first-place holder's?
if(ratio > floatstr(topUser1[1]))
{
// Is there a person in first place?
if(floatstr(topUser1[1]) > 0)
{
// Is there a person in second place?
if(floatstr(topUser2[1]) > 0)
{
// Move the previous second place winner to third place
topUser3 = topUser2;

// Move the previous first place winner to second place
topUser2 = topUser1;
}
// Nope
else
{
// Move the previous first place winner to second place
topUser2 = topUser1;
}
}

// Set them as first-place.
topUser1[0] = nick;

// Convert their ratio to a string
format
(
// String formatting
sRatio,
sizeof(sRatio),
"%f",

// Variables, respectively
ratio
);

// Set their ratio as the ratio string
topUser1[1] = sRatio;

// Done here.
continue;
}
// No, but is it better than second-place?
else if(ratio > floatstr(topUser2[1]))
{
// Is there a person in second place?
if(floatstr(topUser2[1]) > 0)
{
// Move the previous second place winner to third place
topUser3 = topUser2;
}

// Set them as second-place.
topUser2[0] = nick;

// Convert their ratio to a string
format
(
// String formatting
sRatio,
sizeof(sRatio),
"%f",

// Variables, respectively
ratio
);

// Set their ratio as the ratio string
topUser2[1] = sRatio;

// Done here.
continue;
}
// No, but is it better than third-place?
else if(ratio > floatstr(topUser3[1]))
{
// Yes. Set them as third-place.
topUser3[0] = nick;

// Convert their ratio to a string
format
(
// String formatting
sRatio,
sizeof(sRatio),
"%f",

// Variables, respectively
ratio
);

// Set their ratio as the ratio string
topUser3[1] = sRatio;

// Done here.
continue;
}
// They did not rank in the Top 3.
else
{
continue;
}
}

// Start posting the top three
SendClientMessageToAll(COLOR_YELLOW, "** Top Three Players **");

// Format a message string for first place.
format
(
// String formatting
szMsg,
sizeof(szMsg),
"1. %s - %.2f",

// Variables, respectively
topUser1[0],
floatstr(topUser1[1])
);

// Send to everyone
SendClientMessageToAll(COLOR_YELLOW, szMsg);

// Format a message for second place.
format
(
// String formatting
szMsg,
sizeof(szMsg),
"2. %s - %.2f",

// Variables, respectively
topUser2[0],
floatstr(topUser2[1])
);

// Send to everyone
SendClientMessageToAll(COLOR_YELLOW, szMsg);

// Format a message for third place.
format
(
// String formatting
szMsg,
sizeof(szMsg),
"3. %s - %.2f",

// Variables, respectively
topUser3[0],
floatstr(topUser3[1])
);

// Send to everyone
SendClientMessageToAll(COLOR_YELLOW, szMsg);

// Done.
return 1;
}


Put this code in OnGameModeInit():

// Create the all users INI if it does not exist
if(!dini_Exists("/AllUsers.ini"))
{
    // Create it with an index of 0 for no users
    dini_Create("/AllUsers.ini");
    dini_IntSet("/AllUsers.ini", "Index", 0);
}


Put this code in OnPlayerConnect() under if(dini_Exists(file)):

// Add them to the All Users INI if they aren't in it
new j = dini_Int("/AllUsers.ini", "Index"),
i,
found = 0,
result[128];

// Iterate through all users
for(i = 1; i < j + 1; i++)
{
// Get this user's nick.
result = dini_Get("/AllUsers.ini", IntToStr(i));

// This is them.
if(strcmp(result, gPlayers[playerid], true) == 0)
{
// Found them!
found = 1;

// Stop
break;
}
}

// They're not there.
if(found == 0)
{
// Increment the index.
j++;

// Add them to the index.
dini_Set("/AllUsers.ini", IntToStr(j), gPlayers[playerid]);

// Reset the index to variable "j"
dini_IntSet("/AllUsers.ini", "Index", j);
}


Screenshot


Nice But it may lagg the script! :D
#52
mIRC/pawn Scripting / Re: Set World Bounds in Pawno?
April 19, 2011, 05:31:55 AM
Quote from: stormeus on April 18, 2011, 11:48:57 PM
You can't exactly set a world boundary. However, you could restrict them to one area of the map. For example, if PlayerInfo[playerid][Restricted] is set to 1 and the user's area is outside of a set box, teleport them back into that box.

Ye But i need some help its my hardest in pawno even if its easiest :P
#53
mIRC/pawn Scripting / Set World Bounds in Pawno?
April 18, 2011, 09:39:41 AM
SetWorldBoundary(playerid,blalbalbalba); avalabe in pawno?
Setting World Boundary For a just 1 player?
if no anyway to make like this?>
#54
VC:MP Clans / Re: VC:MP clans
April 18, 2011, 04:54:32 AM
Quote from: blackmagic797 on April 17, 2011, 12:24:01 PM
GANG UKF
Country: INTERNATIONAL
Leader(s): BLACKMAgiC
Co. leader(s): KRRISH
Clan tag: [UKF]
Homepage: http://ukfgang.forumotion.in/
Clan server: UNDER CONSTRUCTION
IRC channel: N/A
Other info:ENGLISH IS THE ONLY LANGUAGE ALLOWED, NO CHEATING, SPAMMING OR ABUSING. WELL MANNERED PLAYERS WILL BE APPRECIATED
UKf=UNIVERSAL.KILLERS.FEDERATION

Are u From Kerala/Delhi or .... ? :D
#55
Maybe its One of the Best Hosted Servers by Vrocker thats why!
#56
mIRC/pawn Scripting / Re: anti cheat help
April 18, 2011, 04:50:01 AM
English please! :D
#57
ShowRoom (pawn) / Re: Script WarDeath By Gamer
April 17, 2011, 05:02:59 PM
ROFL !noob, !gay COmmand and 911 is Copied :P
#58
mIRC/pawn Scripting / Re: anti cheat help
April 17, 2011, 04:56:28 PM
What Kinda Anti-Cheat Anti Speed hax? Anti HP hax? Anti Armour hax? OR anything else ?
#59
mIRC/pawn Scripting / Re: 4 questions...
April 14, 2011, 10:08:11 AM
Quote from: tato on April 13, 2011, 10:45:41 PM
Quote from: BIG[H] on April 13, 2011, 05:14:17 PM
Nah Wait for 0.4 all bugs will be FIXED!
how do you know huh?


Use Command Sense  :P
#60
Vice City / Re: headshot bug
April 12, 2011, 09:57:22 AM
Quote from: tato on April 09, 2011, 09:10:45 PM
i have a BIG headshot bug XD i have video :D

http://www.youtube.com/watch?v=gKK8Ab5gUqw
xD Funy
The Best Try to kill a person is stab him and when he is down use m4! even if he lagg it will effect him