/tune

Započeo bla, Novembar 24, 2009, 11:05:20 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

bla

*

if(strcmp(cmd, "/tune", true) == 0)
{
if (PlayerToPoint(3, playerid,2039.6188,-2408.2690,13.5469))
  {
        if(IsPlayerConnected(playerid))
    {
AddVehicleComponent(60,1023);
AddVehicleComponent(60,1081);
AddVehicleComponent(60,1027);
AddVehicleComponent(60,1010);
AddVehicleComponent(60,1033);
AddVehicleComponent(61,1023);
AddVehicleComponent(61,1081);
AddVehicleComponent(61,1027);
AddVehicleComponent(61,1010);
AddVehicleComponent(61,1033);
AddVehicleComponent(62,1023);
AddVehicleComponent(62,1081);
AddVehicleComponent(62,1027);
AddVehicleComponent(62,1010);
AddVehicleComponent(62,1033);
AddVehicleComponent(63,1023);
AddVehicleComponent(63,1081);
AddVehicleComponent(63,1027);
AddVehicleComponent(63,1010);
AddVehicleComponent(63,1033);
AddVehicleComponent(64,1023);
AddVehicleComponent(64,1081);
AddVehicleComponent(64,1027);
AddVehicleComponent(64,1010);
AddVehicleComponent(64,1033);
AddVehicleComponent(65,1023);
AddVehicleComponent(65,1081);
AddVehicleComponent(65,1027);
AddVehicleComponent(65,1010);
AddVehicleComponent(65,1033);
AddVehicleComponent(66,1023);
AddVehicleComponent(66,1081);
AddVehicleComponent(66,1027);
AddVehicleComponent(66,1010);
AddVehicleComponent(66,1033);
}
else
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Niste u TUNING garazi na aeru");
}
}
return 1;
}



LOL uradio sam ovo i sada kada sa jednim sultanom odem /tune u garazu svi se sultani tuniraju xD

fali ti ovaj dio :D



vehicle = GetPlayerVehicleID(playerid);
if (vehicle > 0)
{
    AddVehicleComponent(vehicle, 1010);
}


======ஜ۩۞۩ஜ======
â—,,███â–"â–' FucK oFFâ–'â–"███►
======ஜ۩۞۩ஜ======



:D Fala kurcu imamo i nekih pametnih ljudi na forumu :D

Posjetite:
TUTORIALS 4 ALL NA HRVATSKOM









bla

*

if(strcmp(cmd, "/tune", true) == 0)
{
if (PlayerToPoint(3, playerid,2039.6188,-2408.2690,13.5469))
  {
        if(IsPlayerConnected(playerid))
    {
                                  vehicle = GetPlayerVehicleID(playerid);
                                  if (vehicle > 0)
                                  {
AddVehicleComponent(60,1023);
AddVehicleComponent(60,1081);
AddVehicleComponent(60,1027);
AddVehicleComponent(60,1010);
AddVehicleComponent(60,1033);
AddVehicleComponent(61,1023);
AddVehicleComponent(61,1081);
AddVehicleComponent(61,1027);
AddVehicleComponent(61,1010);
AddVehicleComponent(61,1033);
AddVehicleComponent(62,1023);
AddVehicleComponent(62,1081);
AddVehicleComponent(62,1027);
AddVehicleComponent(62,1010);
AddVehicleComponent(62,1033);
AddVehicleComponent(63,1023);
AddVehicleComponent(63,1081);
AddVehicleComponent(63,1027);
AddVehicleComponent(63,1010);
AddVehicleComponent(63,1033);
AddVehicleComponent(64,1023);
AddVehicleComponent(64,1081);
AddVehicleComponent(64,1027);
AddVehicleComponent(64,1010);
AddVehicleComponent(64,1033);
AddVehicleComponent(65,1023);
AddVehicleComponent(65,1081);
AddVehicleComponent(65,1027);
AddVehicleComponent(65,1010);
AddVehicleComponent(65,1033);
AddVehicleComponent(66,1023);
AddVehicleComponent(66,1081);
AddVehicleComponent(66,1027);
AddVehicleComponent(66,1010);
AddVehicleComponent(66,1033);
}
else
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Niste u TUNING garazi na aeru");
}
}
return 1;
}



Ovako??

jel to radi kod tebe menii izbaci 6 erora

GF edit stavim na kraj skripte


public OnPlayerCommandText(playerid, cmdtext[])

ispod ovoga stavis i radit ce...
Aequam memento rebus in arduis servare mentem.

koristim onaj gamemode gf edit sto si ti editovao chris mozes mi uraditi ti pa poslati meni sve erore izbaca?

turker_kc

a da mozda definiras na koji sultan da ide ? ::)