VKs Official Server
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Latest topics
» Unban Appeal
by VK.Angel.OfDeath Sun Mar 31, 2024 8:29 am

» [Solved] Password Reset
by VK.Angel.OfDeath Sat Mar 23, 2024 9:32 pm

» Ramadan Mubarak in Advance
by Shafin Sat Mar 23, 2024 1:52 pm

» Fatal Force - F2
by [F2]M60^ Sat Feb 24, 2024 4:07 pm

» Illegal Immigration | Old Memories | 2017
by BlackOps_Killer Fri Feb 09, 2024 5:25 pm

» VKs and VCMP Previews
by SJHere Sat Jan 20, 2024 1:51 pm

» The Resurgence 4th Year of Anniversary!
by Ninja Tue Jan 16, 2024 10:30 am

» [Solved]Stats Transfer application - Shado[W]^
by SJHere Mon Nov 27, 2023 5:06 pm

» Hi to all my good friends
by VK.Angel.OfDeath Sat Nov 18, 2023 9:04 am

» [Closed] Admin Application - F2.Ninja
by VK.Angel.OfDeath Sat Nov 18, 2023 8:49 am

» [Closed] Suggestion - We can change weather in props
by VK.Angel.OfDeath Sat Nov 18, 2023 8:45 am

» [Denied] Suggestion - Garbageman Job
by VK.Angel.OfDeath Sat Nov 04, 2023 8:27 pm

» Server Files (24/10/2023)
by VK.Angel.OfDeath Sun Oct 29, 2023 1:22 pm

» [Accepted] playaaa, ULK.Hulk. [M4]Halilibow - speed hacking in parkours
by VK.Angel.OfDeath Sun Oct 29, 2023 1:15 pm

» [Solved] Password Reset- TrapHole
by VK.Angel.OfDeath Sun Oct 29, 2023 1:13 pm

» [Solved] Request for Password Reset (2)
by VK.Angel.OfDeath Sat Oct 21, 2023 1:14 pm

» [Solved] Password Rest
by [RPG]G_man Thu Oct 05, 2023 9:07 pm

» [Noted] FPV Suggestion
by SJHere Sat Sep 02, 2023 8:31 pm

» [Solved] Pass Reset Application Foster^
by VK.Angel.OfDeath Fri Jul 28, 2023 12:00 pm

» Wanna start over again?
by palestrino Wed Jul 26, 2023 2:06 am

» hey guys <3
by D@Ch0uChI. Thu Jul 13, 2023 1:51 am

» [Solved] Stats Transfer
by SJHere Sat Jun 17, 2023 6:03 pm

» [Solved] Password Reset
by D4rKR420R Wed May 24, 2023 1:36 am

» Let's all gather after May in VKs
by Mike Sat May 20, 2023 4:55 pm

» [Denied] Player report - [ON]HunTinG
by D4rKR420R Tue May 02, 2023 5:25 am

» Hi halo here
by Alone Sun Apr 30, 2023 11:28 am

» An old Player Of Vks
by Alone Sat Apr 22, 2023 12:01 am

» [Bug Report] Bug in /domination - invisible bridge
by VK.Angel.OfDeath Wed Apr 19, 2023 3:38 pm

» [Noted] Bug Report - Zone
by LOGiC ™ Wed Mar 08, 2023 4:52 pm

» [Noted] Just Suggestion
by LOGiC ™ Wed Mar 08, 2023 4:11 pm

Top posters
ЧК. (8555)
[Denied] transferstats and antipm for phone I_vote_lcap[Denied] transferstats and antipm for phone I_voting_bar[Denied] transferstats and antipm for phone I_vote_rcap 
VK.Angel.OfDeath (6454)
[Denied] transferstats and antipm for phone I_vote_lcap[Denied] transferstats and antipm for phone I_voting_bar[Denied] transferstats and antipm for phone I_vote_rcap 
=SdS=KrlozZ... (6433)
[Denied] transferstats and antipm for phone I_vote_lcap[Denied] transferstats and antipm for phone I_voting_bar[Denied] transferstats and antipm for phone I_vote_rcap 
D4rKR420R (5469)
[Denied] transferstats and antipm for phone I_vote_lcap[Denied] transferstats and antipm for phone I_voting_bar[Denied] transferstats and antipm for phone I_vote_rcap 
=KF=Thunder^ (5405)
[Denied] transferstats and antipm for phone I_vote_lcap[Denied] transferstats and antipm for phone I_voting_bar[Denied] transferstats and antipm for phone I_vote_rcap 
Pavonis (5197)
[Denied] transferstats and antipm for phone I_vote_lcap[Denied] transferstats and antipm for phone I_voting_bar[Denied] transferstats and antipm for phone I_vote_rcap 
SJHere (4421)
[Denied] transferstats and antipm for phone I_vote_lcap[Denied] transferstats and antipm for phone I_voting_bar[Denied] transferstats and antipm for phone I_vote_rcap 
Emma (4261)
[Denied] transferstats and antipm for phone I_vote_lcap[Denied] transferstats and antipm for phone I_voting_bar[Denied] transferstats and antipm for phone I_vote_rcap 
Vipe[R] (3756)
[Denied] transferstats and antipm for phone I_vote_lcap[Denied] transferstats and antipm for phone I_voting_bar[Denied] transferstats and antipm for phone I_vote_rcap 
47. (3704)
[Denied] transferstats and antipm for phone I_vote_lcap[Denied] transferstats and antipm for phone I_voting_bar[Denied] transferstats and antipm for phone I_vote_rcap 

Statistics
We have 1947 registered users
The newest registered user is Toretto.

Our users have posted a total of 217818 messages in 16809 subjects
Top posting users this month
No user

Top posting users this week
No user


[Denied] transferstats and antipm for phone

3 posters

Go down

[Denied] transferstats and antipm for phone Empty [Denied] transferstats and antipm for phone

Post by EK.CrystalBlue Sun Oct 06, 2013 4:38 pm

1. Transferstats
use this
<div style="width:600px; padding:10px; height:11px; background:yellow; margin-right:20px;">PAWN CODE:

</div><div style="width:600px; padding:10px; height:100px; background:white; margin-right:20px;">new dxmntavda[256], dxmntavdaz;
format(dxmntavda, 256, USERS_FILE, /*variable for playername*/);
format(dxmntavdaz, 256, "%s.ini", /*variable for playername*/);frename(dxmntavda, dxmntavdaz);
</div>
2. Antipm [RP Version]
I know PM cannot be disabled and players shouldnt get kicked for using it. There is one way:
<div style="width:600px; padding:10px; height:11px; background:yellow; margin-right:20px;">PAWN CODE:

</div><div style="width:600px; padding:10px; height:155px; background:white; margin-right:20px;">public OnPlayerPrivmsg(playerid,recieverid,message)
{
new andriisatroll[256];
format(andriisatroll, 256, "%s: %s");
SendClientMessageToAll(COLOR_something, andriisatroll);
SendClientMessage(playerid, "Nice try! The message aint private now.");
return 1;
}
</div>
And spoilers for fun

dont open this spoiler:


Last edited by NE.Restricted on Fri Nov 08, 2013 7:44 am; edited 5 times in total
EK.CrystalBlue
EK.CrystalBlue
Deputy Chief of the Community
Deputy Chief of the Community

Best christ 15
Homocide detective
Pizza Expert
Posts : 3621
Points : 4218
Reputation : 28
Join date : 2012-10-31
Age : 31
Location : I am CRYSTAL u never found me!!!!!

Back to top Go down

[Denied] transferstats and antipm for phone Empty Re: [Denied] transferstats and antipm for phone

Post by VK.Andriusas91 Sun Oct 06, 2013 4:43 pm

NE.Restricted wrote:1. Transferstats
use this
Code:
new dxmntavda[256], dxmntavdaz;
format(dxmntavda, 256, USERS_FILE, /*variable for playername*/);
format(dxmntavdaz, 256, "%s.ini", /*variable for playername*/);
frename(dxmntavda, dxmntavdaz);
2. Antipm [RP Version]
I know PM cannot be disabled and players shouldnt get kicked for using it. There is one way:
Code:
public OnPlayerPrivmsg(playerid,recieverid,message)
{
new andriisatroll[256];
format(andriisatroll, 256, "%s: %s");
SendClientMessageToAll(COLOR_something, andriisatroll);
SendClientMessage(playerid, "Nice try! The message aint private now.");
return 1;
}
And spoilers for fun

dont open this spoiler:
well
spoiler:
VK.Andriusas91
VK.Andriusas91
Epic Member
Epic Member

Announcer
Informant
Gender : Male
Posts : 847
Points : 1069
Reputation : 31
Join date : 2012-10-16
Age : 25
Location : The universe,Milky way galaxy,solar system,Earth,Europe...etc

http://andriusforums.forumotion.eu/

Back to top Go down

[Denied] transferstats and antipm for phone Empty Re: [Denied] transferstats and antipm for phone

Post by VK.Angel.OfDeath Tue Oct 08, 2013 5:46 am

First of all sorry for the late reply.

1. I'm not quite sure why you want me to use that code, what good does it do? Does it fix any bugs or something?

2. Your anti-pm scriptes seem to be good as always. But as I've said, I don't currently like the idea of disabling pm's. I will however keep this suggestion as noted, since you never know if you will change your mind, later when scripting the RP system.
VK.Angel.OfDeath
VK.Angel.OfDeath
Server Owner & Forum Admin
Server Owner & Forum Admin

Posts : 6454
Points : 9307
Reputation : 127
Join date : 2012-10-28
Age : 29
Location : Sweden

Back to top Go down

[Denied] transferstats and antipm for phone Empty Re: [Denied] transferstats and antipm for phone

Post by EK.CrystalBlue Tue Oct 08, 2013 1:22 pm

VK.Angel.OfDeath wrote:First of all sorry for the late reply.

1. I'm not quite sure why you want me to use that code, what good does it do? Does it fix any bugs or something?

2. Your anti-pm scriptes seem to be good as always. But as I've said, I don't currently like the idea of disabling pm's. I will however keep this suggestion as noted, since you never know if you will change your mind, later when scripting the RP system.
well if you make a new account function it is useful so you dont always have to go to resetstats
EK.CrystalBlue
EK.CrystalBlue
Deputy Chief of the Community
Deputy Chief of the Community

Best christ 15
Homocide detective
Pizza Expert
Posts : 3621
Points : 4218
Reputation : 28
Join date : 2012-10-31
Age : 31
Location : I am CRYSTAL u never found me!!!!!

Back to top Go down

[Denied] transferstats and antipm for phone Empty Re: [Denied] transferstats and antipm for phone

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum