"Trebam nešto" - tema

Započeo BloodMaster, Oktobar 02, 2011, 12:01:08 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Treba mi neki gamemod koji ima stan sistem

ako ima negde ovde za skinut
Respect: Gagi, Maki187, Phillips, TerminuS, Neno, Lepotic, [AL] K4[Я]!K3â,,¢, Gotti747

Citat: danijel123 poslato Oktobar 06, 2011, 09:10:05 PRE PODNE
Treba mi neki gamemod koji ima stan sistem

ako ima negde ovde za skinut
RedLine ti ima jedn stan

Treba mi HouseCar sistem..i donator sistem...koristim noxius mod...HITNO..
Poslednja Izmena: Oktobar 06, 2011, 14:49:13 POSLE PODNE od Benetti

Maestro

Ako neko moze da mi da sto vise kuca,da mogu da ubacim u GameMod..Ako je to moguce..
Kontakt: PM a moze i u temi.

Citat: #marcus. poslato Oktobar 05, 2011, 21:13:57 POSLE PODNE
moras staviti te includeove u pawno/includes folder

..u tvojem slucaju streamer i playerzone, naci ih mozes searchom :)
probao sam al opet isto

onda ovako:

u tu mapu di si stavio includove pritisni back(nazad u exploreru) i tu pokreni pawno.exe i onda open i nadji svoju skriptu i kompajlaj, to bi trebalo rijesit problem  :)

Registrirajte se na Pecalicu! (Rewards1 & Prizerebel tip stranice samo sto je ova za Balkan!) Molim preko ovog linka :)

Speedo & Fuel by #marcus.

Što se tiče skriptanja mogu vam pomoći sa manjim problemima, za nešto veliko me ne ispitujte!

ee hvala ti lijepa,uspjelo je...a onu komandu za gs-e sto su mi dali...jel to postoji specificno mjesto kuda ju moram stavit ili samo stavim u gm ?

nema na cemu  :)

sta se tice komande za GS-a, ovisi, ako je u strcmp onda pritisni ctrl+f i trazi onplayercommandtext i ispod tog stavi, za ostale procesore mislim da je nebitno kud idu, jedina stvar je sto mora bit izvan callbackova

Registrirajte se na Pecalicu! (Rewards1 & Prizerebel tip stranice samo sto je ova za Balkan!) Molim preko ovog linka :)

Speedo & Fuel by #marcus.

Što se tiče skriptanja mogu vam pomoći sa manjim problemima, za nešto veliko me ne ispitujte!


Trazim FS za server poruke. Da su dobri. Hvala unaprijed.


Maestro

Ako neko ima da mi da sto vise kuca,al da u te kuce moze da se udje,da se kupi,proda itd..Mnogo bih bio zahvalan.


Trebam komandu give u ZCMD-u ako neko moze to da odradi,malo tezi poslic ali jbg.
/give [weapon,drugs,mats]
Hvala unapred,bio bih vam veoma zahvalan,mucim se danima oko te komande.
Poslednja Izmena: Oktobar 07, 2011, 15:33:24 POSLE PODNE od Krukov

Maestro

Neznam jesi li mislio ovo:


if(strcmp(cmd, "/give", true) == 0) //
{
   if(IsPlayerConnected(playerid))
   {
new x_nr[24];
x_nr = strtok(cmdtext, idx);
if(!strlen(x_nr))
{
   SendClientMessage(playerid, COLOR_WHITE, "USAGE: /give [name] [playerid/PartOfName] ([ammount])");
SendClientMessage(playerid, COLOR_WHITE, "Available names: drugs, gun, vehkey, hirekey, rope");
return 1;
}
if(strcmp(x_nr,"drugs",true) == 0)
{
   tmp = strtok(cmdtext, idx);
   if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /give drugs [playerid/PartOfName] [amount]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
   if(giveplayerid != INVALID_PLAYER_ID)
   {
       new Float:x, Float:y, Float:z;
           GetPlayerPos(giveplayerid,x,y,z);
           if(!IsPlayerInRangeOfPoint(playerid, 5, x, y, z))
           {
               SendClientMessage(playerid, COLOR_GRAD1, "** Player is not near you!");
               return 1;
           }
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /give drugs [playerid/PartOfName] [amount]");
return 1;
}
new dammount;
dammount = strval(tmp);
if(dammount > PlayerInfo[playerid][pDrugs]) { SendClientMessage(playerid, COLOR_GREY, "   You don't have so many drugs."); return 1; }
                       GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
PlayerInfo[playerid][pDrugs] -= dammount;
PlayerInfo[giveplayerid][pDrugs] += dammount;
if(PlayerInfo[playerid][pSex] == 1) { format(string, sizeof(string), "* %s takes out his sack with drugs and hands it to %s.", sendername, giveplayer); }
else { format(string, sizeof(string), "* %s takes out her sack with drugs and hands it to %s.", sendername, giveplayer); }
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
       new y1, m, d;
new h,mi,s;
getdate(y1,m,d);
gettime(h,mi,s);
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /give drugs %s %d",d,m,y1,h,mi,s,sendername,giveplayer, dammount);
CommandLog(string);
}
}
else
{
   SendClientMessage(playerid, COLOR_GRAD1, "   Player is Offline!");
   return 1;
}
}
if(strcmp(x_nr,"gun",true) == 0)
{
   tmp = strtok(cmdtext, idx);
   if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /give gun [playerid/PartOfName] [amount]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
   if(giveplayerid != INVALID_PLAYER_ID)
   {
       new Float:x, Float:y, Float:z;
           GetPlayerPos(giveplayerid,x,y,z);
       GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
           if(!IsPlayerInRangeOfPoint(playerid, 5, x, y, z))
           {
               SendClientMessage(playerid, COLOR_GRAD1, "** Player is not near you!");
               return 1;
           }
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /give gun [playerid/PartOfName] [amount]");
return 1;
}
new sammo = GetPlayerAmmo(playerid);
new weapon = GetPlayerWeapon(playerid);
new ammo = strval(tmp);
if(ammo > sammo)
{
SendClientMessage(playerid, COLOR_GREY, "* You don't have so many bullets.");
return 1;
}
SafeGivePlayerWeapon(giveplayerid, weapon, ammo);
SafeGivePlayerWeapon(playerid, weapon, -ammo);
if(PlayerInfo[playerid][pSex] == 1)
{
format(string, sizeof(string), "* %s takes out his weapon and hands it to %s with %d bullets.", sendername, giveplayer, ammo);
}
else
{
format(string, sizeof(string), "* %s takes out her weapon and hands it to %s with %d bullets.", sendername, giveplayer, ammo);
}
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
       new y1, m, d;
new h,mi,s;
getdate(y1,m,d);
gettime(h,mi,s);
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /give gun %s %d",d,m,y1,h,mi,s,sendername,giveplayer, ammo);
CommandLog(string);
}
}
else
{
   SendClientMessage(playerid, COLOR_GRAD1, "   Player is Offline!");
   return 1;
}
}
else if(strcmp(x_nr,"vehkey",true) == 0)
{
   if(PlayerInfo[playerid][pPcarkey] == 9999)
   {
       SendClientMessage(playerid, COLOR_GRAD1, "   You don't have a vehicle key key to give!");
       return 1;
   }
   tmp = strtok(cmdtext, idx);
   if(!strlen(tmp))


EDIT: Pise tu kad ukucas /give da ti se pojavi i give vehkey al ti to nisam stavio jer nisi trazio..
Poslednja Izmena: Oktobar 07, 2011, 16:05:01 POSLE PODNE od Шћепo