04.11.2013, 17:50
Where is if?
EDIT:
pawn Код:
COMMAND:majak(playerid, cmdtext[])
{
{
if(VehicleObject[1])
{
EDIT:
pawn Код:
COMMAND:majak(playerid, cmdtext[])
{
if(IsValidObject(VehicleObject[0]))
{
VehicleObject[0] = CreateObject(18646,0,0,-1000,0,0,0,100);
AttachObjectToVehicle(VehicleObject[0], 541, 0.449999,0.674999,0.375000,0.000000,0.000000,0.000000);
}
else //365 line
{
DestroyObject(VehicleObject[0]);
}
return 1;
}