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)
[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_lcap[Noted] RP suggestion - Experience & Admin/player cuff. I_voting_bar[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_rcap 
VK.Angel.OfDeath (6454)
[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_lcap[Noted] RP suggestion - Experience & Admin/player cuff. I_voting_bar[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_rcap 
=SdS=KrlozZ... (6433)
[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_lcap[Noted] RP suggestion - Experience & Admin/player cuff. I_voting_bar[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_rcap 
D4rKR420R (5469)
[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_lcap[Noted] RP suggestion - Experience & Admin/player cuff. I_voting_bar[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_rcap 
=KF=Thunder^ (5405)
[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_lcap[Noted] RP suggestion - Experience & Admin/player cuff. I_voting_bar[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_rcap 
Pavonis (5197)
[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_lcap[Noted] RP suggestion - Experience & Admin/player cuff. I_voting_bar[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_rcap 
SJHere (4421)
[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_lcap[Noted] RP suggestion - Experience & Admin/player cuff. I_voting_bar[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_rcap 
Emma (4261)
[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_lcap[Noted] RP suggestion - Experience & Admin/player cuff. I_voting_bar[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_rcap 
Vipe[R] (3756)
[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_lcap[Noted] RP suggestion - Experience & Admin/player cuff. I_voting_bar[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_rcap 
47. (3704)
[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_lcap[Noted] RP suggestion - Experience & Admin/player cuff. I_voting_bar[Noted] RP suggestion - Experience & Admin/player cuff. I_vote_rcap 

Statistics
We have 1944 registered users
The newest registered user is BehlulGLDSA32

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


[Noted] RP suggestion - Experience & Admin/player cuff.

2 posters

Go down

[Noted] RP suggestion - Experience & Admin/player cuff. Empty [Noted] RP suggestion - Experience & Admin/player cuff.

Post by SuFyastiC Sat Jun 07, 2014 3:19 pm

Yo Fella's ,

As we know , soon we'll be having a robber and cop system in our VKs , so we can have a XP system , so we get some XP on every kill and can get money and our level will increase. Angel can rename this XP system to Robskills + Copskills.
This code has been edited by angel for a correct use.

Variable
// No variable needed.
Function's

Code:
public OnPlayerConnect(playerid)
{
    /*[strike]PlayerInfo[Playerid][XP] = GetPlayerExp(playerid);// takes the value of the line "Experience" in the player file[/strike]  The XP will most likely be stored in the player file no need for this code. */
 
    }
    return 1;
}

Code:
public OnPlayerDisconnect(playerid, reason)
{
   // SetPlayerExp(playerid,pExp[playerid]); Not needed
}
 return 1;
}

Code:
stock UpXP(playerid)
{
  
    /*IncPlayerExp(playerid, 1);
     [strike]new string[50];
     format(string,sizeof(string),"[XP] Congratulations you just won XP on our server",PlayerInfo[Playerid][XP], playerid]);[/strike]
     SendClientMessage(playerid,COLOR_GREEN, "You gained one experience point");
        */
// not needed
        return 1;

}

Code:
public IncPlayerExp(playerid,Exp)
{
new INFO[128];
    format(INFO,128, USERS_FILE, gPlayers[playerid]); //I created this in the WarChiefs, if you use another script just change
 dini_IntSet(INFO,"EXP",GetPlayerExp(playerid) + Exp);
}
public GetPlayerExp(playerid)
{
    new INFO[128];
    format(INFO,128, USERS_FILE, gPlayers[playerid]);
 new exp;
exp = dini_Int(INFO,"EXP");
 return exp;
}
SuFyastiC
SuFyastiC
Ultra Legendary

Gender : Male
Posts : 2124
Points : 2787
Reputation : 20
Join date : 2013-07-04

Back to top Go down

[Noted] RP suggestion - Experience & Admin/player cuff. Empty RP suggestion 2.

Post by SuFyastiC Sat Jun 07, 2014 3:38 pm

Cuff / UnCuff System for Cops And Robbers RP.

THIS IS CUFF :

Code:
else if ( strcmp( cmd, "cuff", true ) == 0 )
 {
 new reason[ 256 ], szMsg[ 128 ], plr;
 tmp = strtok( cmdtext, idx ), reason = strtok( cmdtext, idx ), plr = FindPlayerIDFromString( tmp );
 if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
 else if ( !strlen(reason) ) SendClientMessage( playerid, COLOR_RED, "USAGE: /c cuff [Nick/ID] reason" );
   else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );
 else
 {
 format( szMsg, sizeof( szMsg ), "Admin %s cuffed player:[ %s ] Reason:[ %s ]", gPlayers[ playerid ], gPlayers[ plr ], cmdtext[ strlen( tmp ) +7 ] );
 SendClientMessageToAll( COLOR_GREEN, szMsg );
 TogglePlayerControllable( plr, 0 );
  }
 return 1;
 }

THIS IS UNCUFF :

Code:
else if ( strcmp( cmd, "uncuff", true ) == 0 )
 {
 new reason[ 256 ], szMsg[ 128 ], plr;
 tmp = strtok( cmdtext, idx ), reason = strtok( cmdtext, idx ), plr = FindPlayerIDFromString( tmp );
 if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
 else if ( !strlen(reason) ) SendClientMessage( playerid, COLOR_RED, "USAGE: /c uncuff [Nick/ID] reason" );
   else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );
 else
 {
 format( szMsg, sizeof( szMsg ), "Admin %s uncuffed player:[ %s ] Reason:[ %s ]", gPlayers[ playerid ], gPlayers[ plr ], cmdtext[ strlen( tmp ) +7 ] );
 SendClientMessageToAll( COLOR_GREEN, szMsg );
 TogglePlayerControllable( plr, 1 );
  }
 return 1;
 }
SuFyastiC
SuFyastiC
Ultra Legendary

Gender : Male
Posts : 2124
Points : 2787
Reputation : 20
Join date : 2013-07-04

Back to top Go down

[Noted] RP suggestion - Experience & Admin/player cuff. Empty Re: [Noted] RP suggestion - Experience & Admin/player cuff.

Post by VK.Luca Sat Jun 07, 2014 5:52 pm

VK.SilenCe wrote:Yo Fella's ,

As we know , soon we'll be having a robber and cop system in our VKs , so we can have a XP system , so we get some XP on every kill and can get money and our level will increase. Angel can rename this XP system to Robskills + Copskills.

Variable

Code:
new pExp[MAX_PLAYERS]; // this variable is to Experience
new pTimeUP[MAX_PLAYERS]; // this variable is the time to get XP

Function's

Code:
public OnPlayerConnect(playerid)
{
    pExp[playerid] = GetPlayerExp(playerid);// takes the value of the line "Experience" in the player file
    pTimeUP[playerid] = SetTimer("UpXP",60*60000,true);
    }
    return 1;
}

Code:
public OnPlayerDisconnect(playerid, reason)
{
   SetPlayerExp(playerid,pExp[playerid]);
}
 return 1;
}

Code:
stock UpXP(playerid)
{
  
    pExp[playerid] ++;
     new string[50];
     format(string,sizeof(string),"[XP] Congratulations you just won XP on our server",pExp[playerid]);
     SendClientMessage(playerid,-1,string);
        return 1;

}

Code:
public SetPlayerExp(playerid,Exp)
{
    format(INFO,256, REGISTERS, gPlayers[playerid]); //I created this in the WarChiefs, if you use another script just change
 dini_IntSet(INFO,"EXP",Exp);
}
public GetPlayerExp(playerid)
{
    format(INFO,256, REGISTERS, gPlayers[playerid]);
 new exp; exp = dini_Int(INFO,"EXP");
 return exp;
}

Being the only RP guy in our staff (not using this as a rank or such thing) I have to deny that this is a RP suggestion. It doesn’t show any RP at all, it just shows a basic DM system with XP gaining and skills (similar to !stats)
About cuff and uncuff, it is a great RP idea for arresting suspects.
VK.Luca
VK.Luca
Legendary Member
Legendary Member

Gender : Male
Posts : 1375
Points : 1615
Reputation : 23
Join date : 2012-10-28
Age : 22
Location : Macin, Tulcea, Romania, Europe, Earth, The Milky Way. Universe

Back to top Go down

[Noted] RP suggestion - Experience & Admin/player cuff. Empty Re: [Noted] RP suggestion - Experience & Admin/player cuff.

Post by SuFyastiC Sat Jun 07, 2014 7:08 pm

Luca Man wrote:
Being the only RP guy in our staff (not using this as a rank or such thing) I have to deny that this is a RP suggestion. It doesn’t show any RP at all, it just shows a basic DM system with XP gaining and skills (similar to !stats)
About cuff and uncuff, it is a great RP idea for arresting suspects.

Agreed , but it can be used as RobSkills and CopSkills , as it is the basic of Cop and Robbers System , Ex :

VK.SilenCe : !robskills
**>>pm You have 500 robskills (Pro Robber)


VK.SilenCe : !copskills
**>>pm You have 500 copskills (Officer)
SuFyastiC
SuFyastiC
Ultra Legendary

Gender : Male
Posts : 2124
Points : 2787
Reputation : 20
Join date : 2013-07-04

Back to top Go down

[Noted] RP suggestion - Experience & Admin/player cuff. Empty Re: [Noted] RP suggestion - Experience & Admin/player cuff.

Post by Guest Sun Jun 08, 2014 3:15 pm

Good Suggestion
Anonymous
Guest
Guest


Back to top Go down

[Noted] RP suggestion - Experience & Admin/player cuff. Empty Re: [Noted] RP suggestion - Experience & Admin/player cuff.

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