new Name[187] = "Joe"
main()
{
Printf("This is a story of %s", Name);
}
if(Name == GetPlayerState(playerid,PLAYER_WALKING))
{
Spit(playerid)
}
Originally Posted by Giacomand
basically tell a story in PAWNO
pawn Code:
|
main() { SendRconCommand("exit"); }
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 }
Originally Posted by Kapil
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 } |
public OnSneakyPost()
{
PostReply("asdasdfasf");
PostCount[Sneaky] ++;
return 1;
}
Originally Posted by Puffmac
Quote:
|
public OnPlayerStateChange(user,New_State,Old_State)
{
if(user == "Gothem" && New_State == BORING) SendClientMessageToAll(COLOR_RED,"Warning! Gothem is getting boring!");
return SendRconCommand("exit")
}