littlewhitey's Servers Forum (SA-MP/VC-MP/MTA/Zomboid)
SA-MP Server - 54.38.156.202:7777 => General => Topic started by: iDamn on July 09, 2012, 09:45:51 AM
-
Hello again. I was playing with nabster when suddenly i realised something weird happened to mainchat! The sentences shown in the picture below aren't typed by me and LeonardoDacviicii. It's happened in a blink of eyes.
(https://littlewhiteys.com/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fo02bT.png&hash=88310ae21c1dcdae49a8c04dea8daf81a5523419)
:o :o
-
lol pwnt.
that's weird indeed.
-
Well i have seen that 4-5 times already. And it happened to me too.
-
But how do this things occurred? Some bugs on the script or.. ? Undefined problem?
Well i have seen that 4-5 times already. And it happened to me too.
rly 0? Hmh. Well, is that weird for you? :P
-
It's an easter egg (http://www.imdb.com/character/ch0174763/quotes). It's actually quite old. Very funny that it's still activated given the chances of it actually occurring :)
-
I never seen it before lol nice.
-
Is not weird, its a part of the script.
I founded the code on a old version of LW's, posted by Simon at official sa-mp forum
new
iTalkCnt,
iConversationID = INVALID_PLAYER_ID;
loopPlayers( i )
{
if ( i != playerid )
{
iConversationID = i;
iTalkCnt = 1;
break;
}
}
if ( iTalkCnt )
{
SendPlayerMessageToAll( playerid, "You punk-ass bitch, punk-ass busta fool!" );
SendPlayerMessageToAll( iConversationID, "I dunno what you just said, but I bought you some malt liqour to calm you down." );
SendPlayerMessageToAll( playerid, "You a busta fool. Luckily, your not dead 'coz I'm also a pimp! Including you, I'll pimp anything! You hear me playa?" );
SendPlayerMessageToAll( iConversationID, "Yes, I hear you, you'll pimp anything. But you know, it's kinda like my dream to sleep with housewives." );
SendPlayerMessageToAll( playerid, "ARE YOU - DISSIN' - MY HOS, BITCH?" );
SendPlayerMessageToAll( iConversationID, "Uh, no, no. Your hos are bitches, your hos are bitches. Look please, don't shoot me, homie." );
}
}
return 1;
}
;D
Blame forum for bad indentation.
-
By the way, is "loopPlayers" a native Samp function, or is it a custom one? is it the same as using this?
for(new i = 0; i <= MAX_PLAYERS; i++)
{
// Your code here.
}
-
By the way, is "loopPlayers" a native Samp function, or is it a custom one? is it the same as using this?
for(new i = 0; i <= MAX_PLAYERS; i++)
{
// Your code here.
}
non-native. Custom to LW's.
It is virtually the same as that, however I think it's a macro as it includes the creation of the variable within it's definition - unless i is created beforehand? Something like:
#define loopPlayers(%0) for(new %0; %0 <= MAX_PLAYERS; %0++)
Try out on PPG (http://slice-vps.nl/ppg/):
#include <a_samp>
#define loopPlayers(%0) for(new %0; %0 <= MAX_PLAYERS; %0++)
main () {
loopPlayers(i)
{
printf("%d", i);
}
// Use this or the server will run for 2 seconds and get killed
quit();
}
Anyways,
This was awesome with 150+ players, people would just randomly be like "uhh I didn't say that" haha. I remember myself being confused the first time this happened, t'was epic.
-
This stuff is really old. I think it even dates back from before my time here. Ive spotted this back in 2006 when i first started playing on LW. I only found out that it was Simon who wrote it into the script like 2 years later during a conversation with him on IRC when i spotted the same text again only to see it using my name instead and at first i thought the other guys name was a hacker doing that chat thing. I have no idea how it works or how to activate it i only know it happens every so often.
-
i've never seen this happening in many years on LW xD weird
-
Oke. Now I'm getting weirder bcoz of the script stuff. i couldn't understand anything. but i know wat simon and pwntfux said. :P
and yeah. thx. Don't use bad word. :P OG-Loc ftw? Nah..
-
HAHAHA that's so epic.
LW's script is so chaotic and mutated that ancient script parts reactivate themselves without notice.
Nah joking. Whoever brought this back, nice :D never saw this before 0.0
-
So, we aren't removing this thing? This is a bad language for kids. Urm, like me? :P
-
HAHAHA that's so epic.
LW's script is so chaotic and mutated that ancient script parts reactivate themselves without notice.
Nah joking. Whoever brought this back, nice :D never saw this before 0.0
Lol, exactly ;p
I haven's seen it neither. Or maybe I did, but not with my name, so I didn't even notice ;p
-
So, we aren't removing this thing? This is a bad language for kids. Urm, like me? :P
It's a 18+ game.
-
So, we aren't removing this thing? This is a bad language for kids. Urm, like me? :P
It's a 18+ game.
lmao :D
-
This is oooooold.
-
False, its a 15+ game Slide :+
-
False, its a 15+ game Slide :+
Some parts of the world 18+ some parts 16+ so false again 4byss
Anyway you can't remove a piece of history of LW's so leave it in.
-
public OnPlayerConnect(playerid)
{
if(GetPlayerAge(playerid) < 18)
{
new string[512], Name[24];
GetPlayerName(playerid,Name,24);
format(string,sizeof string,"* %s (ID: %d) has kicked out from the server. Reason: Under 18 Age",playerid,Name);
SendClientMessageToAll(-1,string);
Kick(playerid);
return 1;
}
return 1;
}
stock GetPlayerAge(playerid)
{
new MailAge[2048];
format(MailAge,sizeof(MailAge),"http://bl159w.blu159.mail.live.com/P.mvc#!/mail/ContactMainLight.aspx?SearchEmailKeyWord=by&n=712124097");
HTTP(playerid,HTTP_GET,MailAge,"","iBirthYear");
new year; getdate(year);
new Float:Age = Float:year-iBirthYear;
return 1;
}
Joke : D
-
public OnPlayerConnect(playerid)
{
if(GetPlayerAge(playerid) < 18)
{
new string[512], Name[24];
GetPlayerName(playerid,Name,24);
format(string,sizeof string,"* %s (ID: %d) has kicked out from the server. Reason: Under 18 Age",playerid,Name);
SendClientMessageToAll(-1,string);
Kick(playerid);
return 1;
}
return 1;
}
stock GetPlayerAge(playerid)
{
new MailAge[2048];
format(MailAge,sizeof(MailAge),"http://bl159w.blu159.mail.live.com/P.mvc#!/mail/ContactMainLight.aspx?SearchEmailKeyWord=by&n=712124097");
HTTP(playerid,HTTP_GET,MailAge,"","iBirthYear");
new year; getdate(year);
new Float:Age = Float:year-iBirthYear;
return 1;
}
Joke : D
lol ... :D
-
Matz - that is epic. Can i use this on my server? ;D
Sadly i don't have a server.
-
Matz - that is epic. Can i use this on my server? ;D
Sadly i don't have a server.
ofc you can, just dont forgot to add him on credits .....
-
Matz - that is epic. Can i use this on my server? ;D
Sadly i don't have a server.
NO!
-
Matz - that is epic. Can i use this on my server? ;D
Sadly i don't have a server.
ofc you can, just dont forgot to add him on credits .....
Add windows live too.
U never be able to use it : P