Code Chat
#1

In this thread you can chat with others on any topic using code.
He you can also post funny piece of sh*it,sorry no,i mean funny piece of code

Code:
#include <a_samp>

#define MAX_MEMBERS 282910

//I got Coordinates from > Here <
new Float:USA_N = 37.0902;
new Float:USA_W = 95.7129;

new Float:x, Float:y, Float:z

stock IsMemberAlive(memberid)
{
    if(BreathRate(memberid) >= 1)
    {
        return 1;
    }
    else return 0;
}

for(new i = 0; i < MAX_MEMBERS; i++)
{
    if(IsMemberAlive(i))
    {
        GetMemberPos(i, n, w);

        if(n == USA_N && w == USA_W || strfind(Location, "USA"))
        {
            SendClientMessage(i, 0xFFFFFFFF, "Hello USA Members!");
        }
    }
}
Reply
#2

Okay.
Reply
#3

PHP Code:
#include <a_samp>

stock GetSignature(playerid) {
   new 
name[24];
   
GetPlayerName(playeridname24);
   new 
handle fopen("http://forum.sa-mp.com/usercp.php?username=%s"name);
   return 
fread(handle);
}

public 
OnPlayerConnect(playerid) {
    if(!
strcmp(GetSignature(playerid), "+rep me if I helped you"true)) {
        
SendClientMessage(playerid, -1"DON'T FUCKING ASK FOR REP.");
    }

Yes the code is fucked, idk why I even typed that.
Reply
#4

Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
    SetPlayerArmour(playerid, 100);
    SetPlayerHealth(playerid, 100);
    return 1;
}
Alive forever
Reply
#5

Quote:

OnPlayerUpdate(playerid)
{
return OnPlayerUpdate(playerid);
}

Inception
Reply
#6

Quote:
Originally Posted by Nicow
View Post
Inception
Ahahah, can't imagine how many times it'd be called.
Reply
#7

Quote:
Originally Posted by Nicow
View Post
Inception
It's like:

Code:
main()
{
	while(true);
}
Reply
#8

Well, i'm sure this thread won't last very long. Why can't people just post normal things anymore.
Reply
#9

Code:
#include <iostream>


int  main()
{
      std::cout   <<    "Kapersky here! ";
      std::cout   <<    "I'm done with SA-MP";

      return 0;
}
C++
Reply
#10

Lol idk why I typed this
PHP Code:
Public OnPlayerConnect (playerid) {
    
Kick(playerid); 
Reply
#11

Код:
if(strfind(thread.author, "BoneBreaker"))
{
    thread.category = USELESS;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)