PAWNO Game (lol?)
#5

Code:
new boy;
new girl;

public OnPlayerSpawn(playerid)
{
  if(PlayerRole[playerid] == boy)
  {
   SetPlayerCity( playerid, LS );
  }
  if(PlayerRole[playerid] == girl)
  {
   SetPlayerCitY( playerid, SF );
  }
}
new mydreamgirl,mydreamboy;

public OnGirlLSTour(playerid)
{
  SetPlayerFacing(playerid, boy );
  SetPlayerFacing( boy, playerid);
  mydreamgirl = SetTimer("BoyFallsInLove",1,1);
  mydramboy = SetTimer("GirlFallsInLoveToo",1,1);
}
public BoyFallsInLove( )
{
  if(IsGirlAlive() == true)
  {
   Dream();
  }
  else
  {
   GiveDrugs();
   SetPlayerAnimated( PLAYER_ANIMATION_CRYING );
  }
}

new loops = 0;
public GirlFallsInLove( )
{
  if( loops < 24 * 1000 )
  {
   if(IsBoyAlive() == true)
   {
     Dream();
     loops++;
   }
   else
   {
     KillTimer(mydreamboy);
     loops = 0;
     SendClientMessage(playerid,"Girl: oh shit, whos next ?");
   }
  }
}


public TheFirstMeet(boy,girl)
{
  SendClientMessage( girl , "Boy: Hello");
  SendClientMessage( boy, "Girl: Hi");
  SendClientMessage( girl, "Boy: My name is Boy");
  SendClientMessage( boy, "Girl: Girl");
  SendClientMessage( girl , "Boy: nice name");
  SendClientMessage( boy, "Girl: thx urs too");
  Depart( boy );
  Depart( girl );
  sleep( 2 * 365 * 24 * 60 * 60 * 1000 ); // exactly after 2 years
}
story unfinished.
Reply


Messages In This Thread
PAWNO Game (lol?) - by Giacomand - 10.06.2008, 23:05
Re: PAWNO Game (lol?) - by Yaheli_Faro - 11.06.2008, 08:06
Re: PAWNO Game (lol?) - by Luk0r - 11.06.2008, 12:40
Re: PAWNO Game (lol?) - by kc - 11.06.2008, 12:41
Re: PAWNO Game (lol?) - by Kapil - 11.06.2008, 13:08
Re: PAWNO Game (lol?) - by Puffmac - 11.06.2008, 14:31
Re: PAWNO Game (lol?) - by kc - 11.06.2008, 16:46
Re: PAWNO Game (lol?) - by -Sneaky- - 11.06.2008, 19:18
Re: PAWNO Game (lol?) - by Kapil - 11.06.2008, 23:25
Re: PAWNO Game (lol?) - by gothem - 11.06.2008, 23:40

Forum Jump:


Users browsing this thread: 2 Guest(s)