What did i do wrong
#1

I dunno what i done wrong when i type in game /sultan nothing happens same with /elegy

Код:
#include <a_samp>

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#define COLOR_PURPLE
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
}	print("\n--------------------------------------");
print(" Tune Youre Car Filterscript by 3lm0" );
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/elegy", true)==0)
{
AddVehicleComponent(562, 1010);
AddVehicleComponent(562, 1034);
AddVehicleComponent(562, 1036);
AddVehicleComponent(562, 1146);
AddVehicleComponent(562, 1149);
AddVehicleComponent(562, 1171);
ChangeVehiclePaintjob(562, 3);
ChangeVehicleColor(562, 6, 6);
return 1;
}
if (strcmp("/sultan", cmdtext, true, 10) == 0)
{
ChangeVehiclePaintjob(560, 3);
ChangeVehicleColor(560, 6, 6);
SetVehicleNumberPlate(560, "Future");
AddVehicleComponent(560, 1139);
AddVehicleComponent(560, 1169);
AddVehicleComponent(560, 1010);
AddVehicleComponent(560, 1141);
IsPlayerInVehicle(playerid, 560);
return 1;
}
return 0;
}
#endif
Reply


Messages In This Thread
What did i do wrong - by Futurezx - 01.06.2009, 11:51
Re: What did i do wrong - by propilot - 01.06.2009, 12:02
Re: What did i do wrong - by Futurezx - 01.06.2009, 12:09
Re: What did i do wrong - by Futurezx - 01.06.2009, 12:19
Re: What did i do wrong - by dice7 - 01.06.2009, 12:33
Re: What did i do wrong - by luckie12 - 01.06.2009, 12:38
Re: What did i do wrong - by dice7 - 01.06.2009, 12:42
Re: What did i do wrong - by luckie12 - 01.06.2009, 12:43
Re: What did i do wrong - by dice7 - 01.06.2009, 12:47
Re: What did i do wrong - by luckie12 - 01.06.2009, 12:51

Forum Jump:


Users browsing this thread: 1 Guest(s)