Off:- Which SOftware are u using for editing scripts?? Can u give me Download Link??
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Williams on Jan 05, 2016, 10:58 AM@{ultimatejugo] try this :He is making /cuff and /uncuff cmd not /arrest -_-else if ( cmd == "arrest" )
{
if ( text )
{
local plr = FindPlayer( text );
if(plr)
{
if(GetPlayerDistance(player,plr) <= 3)
{
if ( plr.IsFrozen == false )
{
Message(""+ player + " Has Arrested "+ plr + "");
plr.Pos = Vector(391.039, -506.887, 9.39561 );
plr.IsFrozen = true;
}
else MessagePlayer("That Player Is Either Not Cuffed Or He Isnt Wanted", player);
}
else MessagePlayer ( "You need to be close to "+plr.Name+" to arrest him.", player );
}
else MessagePlayer ( "Error - Unknown player", player );
}
else MessagePlayer( "usage : /arrest <Nick/ID>",player );
}
Thanks @Mashreq for giving idea
Quote from: King on Jan 01, 2016, 08:40 AMThanks I want to create that system but i am little weak in scripting so i have some probs in making this thanks for itit's OK. Did ufind any bug??
Quote from: KAKAN on Dec 29, 2015, 05:02 PMHe is making something like donate system. So if any play who have not not donated but is admin in the server will be able to spawn with that skin. And if he use GetLevel then the player who has donated, He needs to give level to the player. In this case, he can store the names of the donators in DB. And add a check.Quote from: Anik on Dec 29, 2015, 02:15 PMWhy not use database??? Add the player's name in DB. And use that.What u mean?
What the hell you want to add in DB?
Just add a level check, that's much simpler than this
Quote from: {ultimatejugo] on Dec 27, 2015, 04:23 AM@{ultimatejugo] what kind of noob r u??? How will it exist if u r using class Playerstats instead of class Playerdata???Quote from: Anik on Dec 25, 2015, 05:33 PMJust add this on scriptloadAlso anik when i add playerdata it says index playerdata doesnt exist now what?status <- array( GetMaxPlayers(), null );
And this on playerjoinstatus[ player.ID ] = PlayerData( player.Name );
That's it. @KAKAN you know scripting better than me why then asking this kind of question?
status[player.ID] = PlayerStats();