[pomoc]kako napraviti

Započeo ScaRy, Februar 25, 2011, 12:42:18 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Bu edit
Detaljan opis problema:kako da napravim da kad /arrest da se dobije para ?? kako wanted namestiti da se vidi na mapi ko ima!
Dio skripte:/
Neke slike/video za lakse dobivanje pomoci(neobavezno):/

hvala unapred...:D

Ovo sa arrest
Ides GivePlayerMoney i namjestis koliko para oces dati
Ako neznas, javi se na PM pa cu ti napravit CMD (jedino ako koristis ZCMD)
For ya...


I'd catch a grenade for ya
Throw my hand on a blade for ya
I'd jump in front of a train for ya
You know I'd do anything for ya


BestOne.exe | Mapper | n00b Skripter | Bruno Mars Fan | Balkan SA:MP <3 | Fifa 11 <3


For ya...



Brate, ako pravis rp server, to nije rp da policajci dobijaju pare kada uhapse nekog, to je vise RPG... Moj savet ti je da ostavis na 0 jer murijaci ne dobijaju nista u rl kada uhapse nekog ;)

Citat: Jadnicak poslato Februar 25, 2011, 14:47:57 POSLE PODNE
Brate, ako pravis rp server, to nije rp da policajci dobijaju pare kada uhapse nekog, to je vise RPG... Moj savet ti je da ostavis na 0 jer murijaci ne dobijaju nista u rl kada uhapse nekog ;)
Gle, on je trazio komandu a ne necije misljenje
I ne mjesajte vise, idete mi na zivce znate -.-'




RP Role Play
RPG Role Play Game




Isto je^^
For ya...


I'd catch a grenade for ya
Throw my hand on a blade for ya
I'd jump in front of a train for ya
You know I'd do anything for ya


BestOne.exe | Mapper | n00b Skripter | Bruno Mars Fan | Balkan SA:MP <3 | Fifa 11 <3


For ya...



Da rodjace, ali RPG se dosta razlikuje :) .. recimo eventi, manje se gledaju pravila.. MG,PG... i admini vise daju pare i levele..
dok se na rp-u samo Rp-uje .. pravila se strrogo gledaju.. pare i leveli se ne davaju itd..

Citat: Jadnicak poslato Februar 25, 2011, 15:00:24 POSLE PODNE
Da rodjace, ali RPG se dosta razlikuje :) .. recimo eventi, manje se gledaju pravila.. MG,PG... i admini vise daju pare i levele..
dok se na rp-u samo Rp-uje .. pravila se strrogo gledaju.. pare i leveli se ne davaju itd..
Kako volim kad me netko vuce u offtopic, onda ja dobim zabrane pisanja zbog budala ::)
OFF:
RPG / RP je ista stvar, mozes meni ti reci sta oces...
Naravno, ti sudis po tome sto ima neki jadan server sa nazivom Balkan RPG (nesto sa balkan sigurno), i oni daju levele...
A RP si zakljucio po GeForce SAMP, dada, znam vas sve u dusu :-*
Ali, da se malo ''pojedes'', oko 2 mjeseca GeForce se zvao GeForce RPG GC
For ya...


I'd catch a grenade for ya
Throw my hand on a blade for ya
I'd jump in front of a train for ya
You know I'd do anything for ya


BestOne.exe | Mapper | n00b Skripter | Bruno Mars Fan | Balkan SA:MP <3 | Fifa 11 <3


For ya...



cristiane

Citat: Jadnicak poslato Februar 25, 2011, 15:00:24 POSLE PODNE
Da rodjace, ali RPG se dosta razlikuje :) .. recimo eventi, manje se gledaju pravila.. MG,PG... i admini vise daju pare i levele..
dok se na rp-u samo Rp-uje .. pravila se strrogo gledaju.. pare i leveli se ne davaju itd..
Aj lupi  glavom od zid,nemoj ljude nasmijavati.Ako ne znas pomoci u ovoj temi zaobidji temu i ako neznas da RPG/RP je ista gl*post  izbrisi sa:mp klijent.

@BestOne.exe Takodje i za tebe vazi ne znas pomoci zaobidji da nebi ponovo na hladjenje.
Poslednja Izmena: Februar 25, 2011, 15:27:15 POSLE PODNE od yamaha

    if(strcmp(cmd, "/arrest", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pMember] == 2|| PlayerInfo[playerid][pMember] == 14)
{
if(PlayerToPoint(6.0, playerid, 418.2874,-1510.6937,615.7189) || PlayerToPoint(15.0, playerid,198.1660,177.6201,1003.0234) || PlayerToPoint(15.0, playerid,268.214019, 77.829612, 1001.039062))
{

tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /arrest [price] [time (minutes)] [bail (0=no 1=yes)] [bailprice]");
return 1;
}
moneys = strval(tmp);
if(moneys < 1 || moneys > 99999) { SendClientMessage(playerid, COLOR_GREY, "   Jail Price can't be below $1 or above $99999!"); return 1; }
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /arrest [price] [time (minutes)] [bail (0=no 1=yes)] [bailprice]");
return 1;
}
new time = strval(tmp);
if(time < 1 || time > 60) { SendClientMessage(playerid, COLOR_GREY, "   Jail Time Minutes can't be below 1 or above 60 minutes!"); return 1; }
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /arrest [price] [time (minutes)] [bail (0=no 1=yes)] [bailprice]");
return 1;
}
new bail = strval(tmp);
if(bail < 0 || bail > 1) { SendClientMessage(playerid, COLOR_GREY, "   Jail Bailing can't be below 0 or above 1!"); return 1; }
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /arrest [price] [time (minutes)] [bail (0=no 1=yes)] [bailprice]");
return 1;
}
new bailprice = strval(tmp);
if(bailprice < 0 || bailprice > 3000000) { SendClientMessage(playerid, COLOR_GREY, "   Jail Bailing can't be below $0 or above $3000000!"); return 1; }
new suspect = GetClosestPlayer(playerid);
if(IsPlayerConnected(suspect))
{
if(GetDistanceBetweenPlayers(playerid,suspect) < 5)
{
GetPlayerName(suspect, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
GiveNameSpace(sendername);
GiveNameSpace(giveplayer);
if(WantedLevel[suspect] < 1 && !PlayerInfo[suspect][pWarrant])
{
    SendClientMessage(playerid, COLOR_GREY, "   Player must be at least Wanted Level 1!");
    return 1;
}
format(string, sizeof(string), "* %s opens the jail and pushes the suspect in it", sendername);
    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    format(string, sizeof(string), "* %s takes out keys, closes jail and locks it", sendername);
    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
format(string, sizeof(string), "* You arrested %s!", giveplayer);
SendClientMessage(playerid, COLOR_WHITE, string);
GivePlayerPCash(suspect, -moneys);
format(string, sizeof(string), "arrested by %s ~n~    for $%d", sendername, moneys);
GameTextForPlayer(suspect, string, 5000, 5);
ResetPlayerWeaponsEx(suspect);
PlayerInfo[suspect][pInvWeapon] = 0;
                        PlayerInfo[suspect][pInvAmmo] = 0;
                        PlayerInfo[suspect][pWarrant]=0;
if(PlayerInfo[playerid][pMember]==1)
{
format(string, sizeof(string), "[News] Officer %s has just arrested %s", sendername, giveplayer);
BroadCast(COLOR_BLUE, string);
SetPlayerPos(suspect,227.2460,109.7719,999.0156);
}
                            else if(PlayerInfo[playerid][pMember]==2)
{
format(string, sizeof(string), "[News] Agent %s has just arrested %s", sendername, giveplayer);
BroadCast(COLOR_BLUE, string);
SetPlayerPos(suspect,197.6586,175.2065,1003.0234);
}
                           else if(PlayerInfo[playerid][pMember]==14)
{
format(string, sizeof(string), "[News] Sheriff %s has just arrested %s", sendername, giveplayer);
BroadCast(COLOR_BLUE, string);
SetPlayerPos(suspect,263.889678,77.249244,1001.039062);
}
PlayerInfo[suspect][pJailTime] = time*60;
format(string,sizeof(string),"%s arrests %s for %d mins, %d bail",sendername,giveplayer,PlayerInfo[suspect][pJailTime], JailPrice[suspect]);
CopLog(string);
if(bail == 1)
{
JailPrice[suspect] = bailprice;
format(string, sizeof(string), "You are jailed for %d minutes.   Bail: $%d", PlayerInfo[suspect][pJailTime], JailPrice[suspect]);
SendClientMessage(suspect, COLOR_WHITE, string);
}
else
{
    JailPrice[suspect] = 0;
format(string, sizeof(string), "You are jailed for %d minutes.   Bail: Unable", PlayerInfo[suspect][pJailTime]);
SendClientMessage(suspect, COLOR_WHITE, string);
}
OnPlayerDataSave(suspect);
PlayerInfo[suspect][pJailed] = 1;
WantedLevel[suspect] = 0;
WantLawyer[suspect] = 1;
PlayerInfo[suspect][pArrested] += 1;
}
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "   No-one close enough to arrest.");
    return 1;
}
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "   your not in the jail spot.");
    return 1;
}
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "   You are not a Cop/FBI !");
    return 1;
}
}
return 1;
For ya...


I'd catch a grenade for ya
Throw my hand on a blade for ya
I'd jump in front of a train for ya
You know I'd do anything for ya


BestOne.exe | Mapper | n00b Skripter | Bruno Mars Fan | Balkan SA:MP <3 | Fifa 11 <3


For ya...