PM script -
Sl1mShady - 03.08.2012
Just give me a PM script, I don't use ZCMD or DCMD or anykind of these unknown things xD
Re: PM script -
Sl1mShady - 03.08.2012
any1
Re: PM script -
doreto - 03.08.2012
Quote:
Originally Posted by Sl1mShady
Just give me a PM script, I don't use ZCMD or DCMD or anykind of these unknown things xD
|
NO go learn yourself,try deffend ways or if you are too lazy post here
Script Request Thread
Re: PM script -
Dev. - 03.08.2012
if u need u can find from luxadmin download that FS and u can find
Respuesta: PM script -
HarlemSAMP - 03.08.2012
Here's a basic PM script made in ZCMD:
pawn Код:
CMD:pm(playerid,params[])
{
new pid;
new message[128];
if(sscanf(params, "us[32]", pid, message))
{
return SendClientMessage(playerid, COLOR_GREY, "USAGE: /pm <playerid> <message>");
}
if(!IsPlayerConnected(pid))
return SendClientMessage(playerid, COLOR_GREY, "ERROR: Player is not connected!");
new pmsg[256];
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid,pname,sizeof(pname));
format(pmsg,sizeof(pmsg),"PM from %s(%d): %s",pname,playerid,message);
new pidmsg[256];
new pidname[MAX_PLAYER_NAME];
GetPlayerName(pid,pidname,sizeof(pidname));
format(pidmsg,sizeof(pidmsg),"PM to %s(%d): %s",pidname,pid,message);
SendClientMessage(pid, COLOR_ORANGE, pmsg);
PlayerPlaySound(pid,1057,0.0,0.0,0.0);
SendClientMessage(playerid, COLOR_ORANGE, pidmsg);
return 1;
}
Re: PM script -
Sl1mShady - 03.08.2012
tell me how to put ZCMD, cuz i said i dont use it, please.
Respuesta: Re: PM script -
HarlemSAMP - 03.08.2012
Quote:
Originally Posted by Sl1mShady
tell me how to put ZCMD, cuz i said i dont use it, please.
|
That's just a basic PM code, just convert it to strcmd and it should be fine, add it OnPlayerCommandText callback and it should work fine, i won't do all the job as you need to learn basic pawn scripting.
Hope you got the idea.
Re: PM script -
[MM]RoXoR[FS] - 03.08.2012
Quote:
Originally Posted by Sl1mShady
tell me how to put ZCMD, cuz i said i dont use it, please.
|
Download ZCMD from
here.
Go to your directory, where your server is
Like for me
Код:
F:\server\pawno\include
and put that file there.
In your GM script add
Respuesta: PM script -
HarlemSAMP - 03.08.2012
NOTE: if half of your code is made on Strcmd and you do as RoXor said, your script will have a conflict and won't work, i suggest you to convert the code i gave you to strcmd, if you know how to change from strcmd to zcmd then do as RoXor said, if not then do not do it
Re: PM script -
SEnergy - 03.08.2012
serverfolder/filterscripts/baseaf.pwn