29.04.2011, 21:23
(
Последний раз редактировалось JaTochNietDan; 30.04.2011 в 12:14.
Причина: Use the edit button.
)
I dont know the problem but it doesn't works >.<
oops failed to copy XDDDDDDDDD its like this
pawn Код:
if(isnull(params)) return 0;
new
ID = strval(params);
if(gTeam[playerid] == COPSS && IsPlayerNearPlayer(playerid,ID,3) && Tickeado[ID] == 0 && gTeam[ID] != COPSS)
{
if(GetPlayerWantedLevel(ID) == 1)
{
format(string5,sizeof(string5),"You Has been ticket [Person %s]. You Debt $250!!",Nombre(playerid));
SendClientMessage(ID,red,string5);
Tickeado[ID] = 1;
Paco = playerid;
EnviarMensajeAPacos(red,"SERVER COPS:._______________________________________");
format(string5,sizeof(string5),"Victim: %s [%d] Cop: %s [%d]",Nombre(ID),ID,Nombre(playerid),playerid);
EnviarMensajeAPacos(red,string5);
EnviarMensajeAPacos(red,"Thing: Ticket of $250. Razon: Wanted Level = 1");
EnviarMensajeAPacos(red,"____________________________________________________");
SetTimerEx("Ticket",60000,0,"i",ID);
}
pawn Код:
CMD:ticket(playerid,params[])
{
if(isnull(params)) return 0;
new
ID = strval(params);
if(gTeam[playerid] == COPSS && IsPlayerNearPlayer(playerid,ID,3) && Tickeado[ID] == 0 && gTeam[ID] != COPSS)
{
if(GetPlayerWantedLevel(ID) == 1)
{
format(string5,sizeof(string5),"You Has been ticket [Person %s]. You Debt $250!!",Nombre(playerid));
SendClientMessage(ID,red,string5);
Tickeado[ID] = 1;
Paco = playerid;
EnviarMensajeAPacos(red,"SERVER COPS:._______________________________________");
format(string5,sizeof(string5),"Victim: %s [%d] Cop: %s [%d]",Nombre(ID),ID,Nombre(playerid),playerid);
EnviarMensajeAPacos(red,string5);
EnviarMensajeAPacos(red,"Thing: Ticket of $250. Razon: Wanted Level = 1");
EnviarMensajeAPacos(red,"____________________________________________________");
SetTimerEx("Ticket",60000,0,"i",ID);
}
return 1;
}