SA-MP Forums Archive
[FilterScript] When Player Pause - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] When Player Pause (/showthread.php?tid=192210)



When Player Pause - Larsey123IsMe - 21.11.2010

Here is an simple Pause-Unpause script:


What does it do?
[ame]http://www.youtube.com/watch?v=BGRvalles5I[/ame]


You will need this Include:

OnPlayerPause v2.0


Download:




Credits:
______________________________
|OnPlayerPause Include:
|The_Moddler
|Special thanks:
|****** for the y_hook system.
|Luka P. for the idea of using y_hook.
|Legц for confirming me about y_hook bug.
|Putting this togheter:
|Larsey123
______________________________

|
|
|
|

All negative comments will be ignored!!! I am new, that means i am not so good!


Re: When Player Pause - Aleluja - 21.11.2010

Good job.


Re: When Player Pause - wups - 21.11.2010

Thats it?
pawn Код:
public OnPlayerPause(playerid)
{
    new msg[60],name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,MAX_PLAYER_NAME);
    format(msg,sizeof(msg),"[AFK] %s is now afk!",name);
    SendClientMessageToAll(YELLOW,msg);
    return 1;
}

public OnPlayerUnPause(playerid)
{
    new msg[60],name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,MAX_PLAYER_NAME);
    format(msg,sizeof(msg),"[AFK] %s is now back!",name);
    SendClientMessageToAll(YELLOW,msg);
    return 1;
}
Oh my god it took me 1.30min to make this script..


Re: When Player Pause - Larsey123IsMe - 21.11.2010

Quote:
Originally Posted by wups
Посмотреть сообщение
Thats it?
pawn Код:
public OnPlayerPause(playerid)
{
    new msg[60],name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,MAX_PLAYER_NAME);
    format(msg,sizeof(msg),"[AFK] %s is now afk!",name);
    SendClientMessageToAll(YELLOW,msg);
    return 1;
}

public OnPlayerUnPause(playerid)
{
    new msg[60],name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,MAX_PLAYER_NAME);
    format(msg,sizeof(msg),"[AFK] %s is now back!",name);
    SendClientMessageToAll(YELLOW,msg);
    return 1;
}
Oh my god it took me 1.30min to make this script..
That is the wole script and it works perfect
and ROFL 1.30 MIN xD, hahaha :P :P :P


Re: When Player Pause - ColdXX - 21.11.2010

Useless!
Since everyone could of made that!
If u wanna do a so called FS make something interesting unique,or improve something that already exists!


Re: When Player Pause - Ehab1911 - 22.11.2010

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
You didn't do anything except send messages, how useless.
Quote:
Originally Posted by ColdXX
Посмотреть сообщение
Useless!
Since everyone could of made that!
If u wanna do a so called FS make something interesting unique,or improve something that already exists!
You're completley retarded people. He made something cool, and It is not " USELESS " Your comments are useless.


Good Job man, don't listen to those nabs.


Re: When Player Pause - Larsey123IsMe - 22.11.2010

Quote:
Originally Posted by Ehab1911
Посмотреть сообщение
You're completley retarded people. He made something cool, and It is not " USELESS " Your comments are useless.


Good Job man, don't listen to those nabs.
Thanks (Y)


Re: When Player Pause - Scenario - 22.11.2010

Quote:
Originally Posted by Ehab1911
Посмотреть сообщение
You're completley retarded people. He made something cool, and It is not " USELESS " Your comments are useless.


Good Job man, don't listen to those nabs.
You are a moron.


Re: When Player Pause - ColdXX - 22.11.2010

Quote:
Originally Posted by Ehab1911
Посмотреть сообщение
You're completley retarded people. He made something cool, and It is not " USELESS " Your comments are useless.


Good Job man, don't listen to those nabs.
yea.maybe it is helpfull for you when u have no brain to use it and script that Shit alone
We didnt offend you in any way,why do you do it?


Re: When Player Pause - Ehab1911 - 22.11.2010

Quote:
Originally Posted by ColdXX
Посмотреть сообщение
yea.maybe it is helpfull for you when u have no brain to use it and script that Shit alone
We didnt offend you in any way,why do you do it?
Because you are saying it's useless, but it's useful. Instead of encouraging him you're destroying him.